diff --git a/js/jquery.mobile.forms.textinput.js b/js/jquery.mobile.forms.textinput.js index da252296..422d7da6 100644 --- a/js/jquery.mobile.forms.textinput.js +++ b/js/jquery.mobile.forms.textinput.js @@ -100,9 +100,6 @@ $.widget( "mobile.textinput", $.mobile.widget, { var scrollHeight = input[ 0 ].scrollHeight, clientHeight = input[ 0 ].clientHeight; - console.log( scrollHeight ); - console.log( clientHeight ); - if ( clientHeight < scrollHeight ) { input.css({ height: (scrollHeight + extraLineHeight) @@ -115,7 +112,7 @@ $.widget( "mobile.textinput", $.mobile.widget, { clearTimeout( keyupTimeout ); keyupTimeout = setTimeout( keyup, keyupTimeoutBuffer ); }); - + // Issue 509: the browser is not giving scrollHeight properly until after the document // is ready. if ($.trim(input.text())) {