jenkins-bot has submitted this change and it was merged.

Change subject: Update jQuery Autosize to master
......................................................................


Update jQuery Autosize to master

Change-Id: I5c2a7447dfd192667ef58e5a5785d7cf95f748a2
---
M resources/js/jquery.autosize.js
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/resources/js/jquery.autosize.js b/resources/js/jquery.autosize.js
index c7ae56f..f90e81c 100644
--- a/resources/js/jquery.autosize.js
+++ b/resources/js/jquery.autosize.js
@@ -19,7 +19,7 @@
        supportsScrollHeight,
 
        // border:0 is unnecessary, but avoids a bug in FireFox on OSX 
(http://www.jacklmoore.com/autosize#comment-851)
-       copy = '<textarea tabindex="-1" style="position:absolute; top:-999px; 
left:0; right:auto; bottom:auto; border:0; -moz-box-sizing:content-box; 
-webkit-box-sizing:content-box; box-sizing:content-box; word-wrap:break-word; 
height:0 !important; min-height:0 !important; overflow:hidden;"/>',
+       copy = '<textarea tabindex="-1" style="position:absolute; top:-999px; 
left:0; right:auto; bottom:auto; border:0; -moz-box-sizing:content-box; 
-webkit-box-sizing:content-box; box-sizing:content-box; word-wrap:break-word; 
height:0 !important; min-height:0 !important; width: 0; overflow:hidden;"/>',
 
        // line-height is conditionally included because IE7/IE8/old Opera do 
not return the correct value.
        copyStyle = [
@@ -147,7 +147,7 @@
                                        if (original !== height) {
                                                ta.style.height = height + 'px';
                                                if (callback) {
-                                                       
options.callback.call(ta);
+                                                       
options.callback.call(ta,ta);
                                                }
                                        }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5c2a7447dfd192667ef58e5a5785d7cf95f748a2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: Amire80 <[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