TheDJ has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/354589 )

Change subject: jQuery3: size() -> length
......................................................................

jQuery3: size() -> length

Change-Id: I8627fced05c27ed3596f3915c9b72c25f13a2ed3
---
M resources/ext.tmh.player.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TimedMediaHandler 
refs/changes/89/354589/1

diff --git a/resources/ext.tmh.player.js b/resources/ext.tmh.player.js
index 51aa164..8e6f054 100755
--- a/resources/ext.tmh.player.js
+++ b/resources/ext.tmh.player.js
@@ -54,7 +54,7 @@
                                videoplayer = this,
                                $videoplayer = $( this );
 
-                       if ( $videoplayer.closest( '.video-js' ).size() ) {
+                       if ( $videoplayer.closest( '.video-js' ).length ) {
                                // This player has already been transformed.
                                return;
                        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8627fced05c27ed3596f3915c9b72c25f13a2ed3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TimedMediaHandler
Gerrit-Branch: master
Gerrit-Owner: TheDJ <hartman.w...@gmail.com>

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

Reply via email to