Skip to content

Commit 77c4b35

Browse files
author
Ghislain Seguin
committed
Removed use of $.browser
1 parent 0310f38 commit 77c4b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.ba-hashchange.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297
// vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
298298
// vvvvvvvvvvvvvvvvvvv REMOVE IF NOT SUPPORTING IE6/7/8 vvvvvvvvvvvvvvvvvvv
299299
// vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
300-
$.browser.msie && !supports_onhashchange && (function(){
300+
window.attachEvent && !window.addEventListener && !supports_onhashchange && (function(){
301301
// Not only do IE6/7 need the "magical" Iframe treatment, but so does IE8
302302
// when running in "IE7 compatibility" mode.
303303

0 commit comments

Comments
 (0)