Permalink
Browse files

removes multiple instances of "JS"

  • Loading branch information...
1 parent a5e0da3 commit 270496aa4ce67080abb2ffcfd4df7efad5fc71e4 @verbatim committed Jan 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 css_browser_selector_dev.js
@@ -138,7 +138,7 @@ function css_browser_selector(u)
screenSize();
var cssbs = (b.join(' ')).replace(/ +/g," ") + " js ";
- html.className = ( cssbs + html.className.replace(/no[-|_]?js/g,"") ).replace(/^ /, "");
+ html.className = ( cssbs + html.className.replace(/(no[-|_]?)?js/g,"") ).replace(/^ /, "");
return cssbs;
}

0 comments on commit 270496a

Please sign in to comment.