From d130bd4fa754f66dce4dc1b296585a7db01aca83 Mon Sep 17 00:00:00 2001 From: "Mathias Schaefer (molily)" Date: Thu, 11 Jun 2015 12:09:02 +0200 Subject: [PATCH] DropdownCSS: Remove magic `:all:` correctly. --- src/js/select2/compat/dropdownCss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/select2/compat/dropdownCss.js b/src/js/select2/compat/dropdownCss.js index edf38ac7..02f55820 100644 --- a/src/js/select2/compat/dropdownCss.js +++ b/src/js/select2/compat/dropdownCss.js @@ -22,7 +22,7 @@ define([ dropdownCssAdapter = dropdownCssAdapter || _dropdownAdapter; if (dropdownCssClass.indexOf(':all:') !== -1) { - dropdownCssClass = dropdownCssClass.replace(':all', ''); + dropdownCssClass = dropdownCssClass.replace(':all:', ''); var _cssAdapter = dropdownCssAdapter;