Skip to content

Instantly share code, notes, and snippets.

@rpocklin
Created June 19, 2013 08:34
Show Gist options
  • Save rpocklin/5812670 to your computer and use it in GitHub Desktop.
Save rpocklin/5812670 to your computer and use it in GitHub Desktop.
if (!this.opts.allowClear) {
this.container.removeClass("select2-allowclear");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment