r114016 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114015‎ | r114016 | r114017 >
Date:15:19, 16 March 2012
Author:kaldari
Status:ok
Tags:
Comment:
fix for bug 35057 - also suggested as an upstream change for jquery.elastic
Modified paths:
  • /trunk/extensions/WikiLove/modules/jquery.elastic/jquery.elastic.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiLove/modules/jquery.elastic/jquery.elastic.js
@@ -137,17 +137,6 @@
138138 $textarea.bind('resize', setTwinWidth);
139139 $textarea.bind('update', update);
140140
141 - // Compact textarea on blur
142 - $textarea.bind('blur',function(){
143 - if($twin.height() < maxheight){
144 - if($twin.height() > minheight) {
145 - $textarea.height($twin.height());
146 - } else {
147 - $textarea.height(minheight);
148 - }
149 - }
150 - });
151 -
152141 // And this line is to catch the browser paste event
153142 $textarea.bind('input paste',function(e){ setTimeout( update, 250); });
154143

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r113458partial work-around for jQuery/jQuery.elastic bug, see bug 35057kaldari07:22, 9 March 2012
r114013partial fix for bug 35057 - backporting a patch from jQuery 1.7.2prekaldari14:44, 16 March 2012

Status & tagging log