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

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

Change the deprecated jQuery.fn.size to length

Change-Id: Icd0d450adf79165694c8ac965d06b4431546d7c1
---
M modules/ui/mw.cx.ui.SourceColumn.js
M modules/ui/mw.cx.ui.TranslationColumn.js
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation 
refs/changes/38/349938/1

diff --git a/modules/ui/mw.cx.ui.SourceColumn.js 
b/modules/ui/mw.cx.ui.SourceColumn.js
index b2f6fa8..26be28a 100644
--- a/modules/ui/mw.cx.ui.SourceColumn.js
+++ b/modules/ui/mw.cx.ui.SourceColumn.js
@@ -97,7 +97,7 @@
 };
 
 mw.cx.ui.SourceColumn.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 );
        }
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: newchange
Gerrit-Change-Id: Icd0d450adf79165694c8ac965d06b4431546d7c1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>

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

Reply via email to