Skip to content

Commit 1b24278

Browse files
committed
Fixedtoolbar: Fix incorrect event binding in _on. Fixes jquery-archive#5487 - Page padding should be applied before transition starts
1 parent c99a067 commit 1b24278

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

js/widgets/fixedToolbar.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core", "../jque
8989
// This method is meant to disable zoom while a fixed-positioned toolbar page is visible
9090
this._on( this._thisPage, {
9191
"pagebeforeshow": "_handlePageBeforeShow",
92-
"webkitAnimationStart animationstart updatelayout": "_handleAnimationStart",
92+
"webkitAnimationStart":"_handleAnimationStart",
93+
"animationstart":"_handleAnimationStart",
94+
"updatelayout": "_handleAnimationStart",
9395
"pageshow": "_handlePageShow",
9496
"pagebeforehide": "_handlePageBeforeHide"
9597
});

js/widgets/forms/textinput.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,7 @@ $.widget( "mobile.textinput", $.mobile.widget, {
154154

155155
if ( parentNeedsDisabled ) {
156156
$el = this.element.parent();
157-
} else {
158-
$el = this.element;
159157
}
160-
$el.addClass( "ui-disabled" );
161158
return this._setOption( "disabled", true );
162159
},
163160

0 commit comments

Comments
 (0)