MarkTraceur has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/132020

Change subject: Fix up one issue with jQuery 1.9
......................................................................

Fix up one issue with jQuery 1.9

There's a remaining issue in the jQuery hashchange library, but there
are *loads* of open pull requests for it upstream. We'll wait for them
to get merged.

Change-Id: I766d289dee90d0e752f604fa4975f8f5b4c780a0
---
M resources/mmv/mmv.base.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MultimediaViewer 
refs/changes/20/132020/1

diff --git a/resources/mmv/mmv.base.js b/resources/mmv/mmv.base.js
index ff5c1e2..c8ee5b2 100644
--- a/resources/mmv/mmv.base.js
+++ b/resources/mmv/mmv.base.js
@@ -21,7 +21,7 @@
                // We have to disable support for IE < 9 until this is fixed: 
https://bugzilla.wikimedia.org/show_bug.cgi?id=63303
                // This can't be done with feature detection, as the error IE 
triggers in that situation can't be caught
                isBrowserSupported : function () {
-                       return ! ( $.browser.msie && parseFloat( 
$.browser.version ) < 9 );
+                       return !$.client.test( { msie: [ [ '<', 9 ] ] } );
                }
        };
 }( mediaWiki, jQuery ) );

-- 
To view, visit https://gerrit.wikimedia.org/r/132020
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I766d289dee90d0e752f604fa4975f8f5b4c780a0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MultimediaViewer
Gerrit-Branch: master
Gerrit-Owner: MarkTraceur <mtrac...@member.fsf.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to