jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/349938 )

Change subject: CX2: Change the deprecated jQuery.fn.size to length
......................................................................


CX2: Change the deprecated jQuery.fn.size to length

Essentially the same as Ibb52903b1d

Change-Id: Icd0d450adf79165694c8ac965d06b4431546d7c1
---
M modules/ui/mw.cx.ui.TranslationColumn.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



diff --git a/modules/ui/mw.cx.ui.TranslationColumn.js 
b/modules/ui/mw.cx.ui.TranslationColumn.js
index e0d11ba..a63fe96 100644
--- a/modules/ui/mw.cx.ui.TranslationColumn.js
+++ b/modules/ui/mw.cx.ui.TranslationColumn.js
@@ -101,7 +101,7 @@
  * @param {jQuery} $element
  */
 mw.cx.ui.TranslationColumn.prototype.insertAt = function ( index, $element ) {
-       var lastIndex = this.$content.children().size();
+       var lastIndex = this.$content.children().length;
        if ( index < 0 ) {
                index = Math.max( 0, lastIndex + 1 + index );
        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icd0d450adf79165694c8ac965d06b4431546d7c1
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to