Index: trunk/extensions/WikiLove/modules/jquery.elastic/jquery.elastic.js |
— | — | @@ -137,17 +137,6 @@ |
138 | 138 | $textarea.bind('resize', setTwinWidth); |
139 | 139 | $textarea.bind('update', update); |
140 | 140 | |
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 | | - |
152 | 141 | // And this line is to catch the browser paste event |
153 | 142 | $textarea.bind('input paste',function(e){ setTimeout( update, 250); }); |
154 | 143 | |