From 62b2391972b1b64f8ea84ed4a2180ee83f47570c Mon Sep 17 00:00:00 2001 From: "Mathias Schaefer (molily)" Date: Wed, 10 Jun 2015 23:15:43 +0200 Subject: [PATCH] ContainerCss: Remove magic `:all:` correctly. Fixes #3446. --- src/js/select2/compat/containerCss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/select2/compat/containerCss.js b/src/js/select2/compat/containerCss.js index a1fc83bb..45703ac8 100644 --- a/src/js/select2/compat/containerCss.js +++ b/src/js/select2/compat/containerCss.js @@ -22,7 +22,7 @@ define([ containerCssAdapter = containerCssAdapter || _containerAdapter; if (containerCssClass.indexOf(':all:') !== -1) { - containerCssClass = containerCssClass.replace(':all', ''); + containerCssClass = containerCssClass.replace(':all:', ''); var _cssAdapter = containerCssAdapter;