Skip to content

Instantly share code, notes, and snippets.

@behrad
Created June 9, 2013 16:33
Show Gist options
  • Save behrad/5744174 to your computer and use it in GitHub Desktop.
Save behrad/5744174 to your computer and use it in GitHub Desktop.
rtl select2 multivalue search box resizing
var containerLeft = ($(window).width() - (this.selection.offset().left + this.selection.outerWidth()) );
var left = ($(window).width() - (this.search.offset().left + this.search.outerWidth()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment