File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -63,22 +63,22 @@ export function isMediaBrowserhack(prelude) {
6363 returnValue = true
6464 return this . break
6565 }
66- if ( node . name === '-moz-images-in-menus'
67- || node . name === 'min--moz-device-pixel-ratio'
68- || node . name === '-ms-high-contrast'
66+ if ( strEquals ( '-moz-images-in-menus' , node . name )
67+ || strEquals ( 'min--moz-device-pixel-ratio' , node . name )
68+ || strEquals ( '-ms-high-contrast' , node . name )
6969 ) {
7070 returnValue = true
7171 return this . break
7272 }
73- if ( node . name === 'min-resolution'
74- && node . value . value === '.001'
75- && node . value . unit === 'dpcm'
73+ if ( strEquals ( 'min-resolution' , node . name )
74+ && strEquals ( '.001' , node . value . value )
75+ && strEquals ( 'dpcm' , node . value . unit )
7676 ) {
7777 returnValue = true
7878 return this . break
7979 }
80- if ( node . name === '-webkit-min-device-pixel-ratio' ) {
81- if ( ( node . value . value === '0' || node . value . value === '10000' ) ) {
80+ if ( strEquals ( '-webkit-min-device-pixel-ratio' , node . name ) ) {
81+ if ( ( strEquals ( '0' , node . value . value ) || strEquals ( '10000' , node . value . value ) ) ) {
8282 returnValue = true
8383 return this . break
8484 }
You can’t perform that action at this time.
0 commit comments