File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 297
297
// vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
298
298
// vvvvvvvvvvvvvvvvvvv REMOVE IF NOT SUPPORTING IE6/7/8 vvvvvvvvvvvvvvvvvvv
299
299
// vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
300
- ( navigator . appName == 'Microsoft Internet Explorer' ) && ! supports_onhashchange && ( function ( ) {
300
+ ( navigator . appName == 'Microsoft Internet Explorer' ) && window . attachEvent && ! window . addEventListener && ! supports_onhashchange && ( function ( ) {
301
301
// Not only do IE6/7 need the "magical" Iframe treatment, but so does IE8
302
302
// when running in "IE7 compatibility" mode.
303
303
370
370
iframe_doc . open ( ) ;
371
371
372
372
// Set document.domain for the Iframe document as well, if necessary.
373
- domain && iframe_doc . write ( '<script >document.domain="' + domain + '"< /script>' ) ;
373
+ domain && iframe_doc . write ( '\x3cscript >document.domain="' + domain + '"\x3c /script>' ) ;
374
374
375
375
iframe_doc . close ( ) ;
376
376
You can’t perform that action at this time.
0 commit comments