mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-21 14:44:44 +00:00
textinput whitespace
This commit is contained in:
parent
d50aa91e6d
commit
1d4109295d
1 changed files with 2 additions and 2 deletions
|
|
@ -103,11 +103,11 @@ $.widget( "mobile.textinput", $.mobile.widget, {
|
|||
if ( $.trim( input.val() ) ) {
|
||||
// bind to the window load to make sure the height is calculated based on BOTH
|
||||
// the DOM and CSS
|
||||
$(window).load(keyup);
|
||||
$( window ).load( keyup );
|
||||
|
||||
// binding to pagechange here ensures that for pages loaded via
|
||||
// ajax the height is recalculated without user input
|
||||
$(document).one("pagechange", keyup);
|
||||
$( document ).one( "pagechange", keyup );
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue