File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ var stylesInDom = {},
10
10
return memo ;
11
11
} ;
12
12
} ,
13
- isIE9 = memoize ( function ( ) {
14
- return / m s i e 9 \b / . test ( window . navigator . userAgent . toLowerCase ( ) ) ;
13
+ isOldIE = memoize ( function ( ) {
14
+ return / m s i e [ 6 - 9 ] \b / . test ( window . navigator . userAgent . toLowerCase ( ) ) ;
15
15
} ) ,
16
16
getHeadElement = memoize ( function ( ) {
17
17
return document . head || document . getElementsByTagName ( "head" ) [ 0 ] ;
@@ -25,9 +25,9 @@ module.exports = function(list, options) {
25
25
}
26
26
27
27
options = options || { } ;
28
- // Force single-tag solution on IE9 , which has a hard limit on the # of <style>
28
+ // Force single-tag solution on IE6-9 , which has a hard limit on the # of <style>
29
29
// tags it will allow on a page
30
- if ( typeof options . singleton === "undefined" ) options . singleton = isIE9 ( ) ;
30
+ if ( typeof options . singleton === "undefined" ) options . singleton = isOldIE ( ) ;
31
31
32
32
var styles = listToStyles ( list ) ;
33
33
addStylesToDom ( styles , options ) ;
You can’t perform that action at this time.
0 commit comments