From: Dobrica Pavlinusic Date: Tue, 29 Jun 2010 14:06:53 +0000 (+0200) Subject: integrated into eval_console.js X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=bea887a74f3e5379f5817f97ae26d51a0fad4a79;p=MojoFacets.git integrated into eval_console.js --- diff --git a/public/js/jquery.textarea_grow.js b/public/js/jquery.textarea_grow.js deleted file mode 100644 index a07ab75..0000000 --- a/public/js/jquery.textarea_grow.js +++ /dev/null @@ -1,17 +0,0 @@ -jQuery.fn.textarea_grow = function(){ - return this.each(function(){ - var rows = this.rows; - console.debug( 'textarea_grow', rows, this ); - var grow = function(ta) { - var lines = ta.value.split('\n').length; - if ( lines != rows ) { - ta.rows = lines; - rows = lines; - console.debug('keyup', lines, rows, ta ); - } - }; - grow(this); - this.onkeyup = function() { grow(this) }; - }); -}; -