From bea887a74f3e5379f5817f97ae26d51a0fad4a79 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 29 Jun 2010 16:06:53 +0200 Subject: [PATCH] integrated into eval_console.js --- public/js/jquery.textarea_grow.js | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 public/js/jquery.textarea_grow.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) }; - }); -}; - -- 2.20.1