mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-23 07:34:43 +00:00
previous commit should not have switched the order of trigger and add classes. Reverted, with cleanup still in place.
This commit is contained in:
parent
ce5ce102dc
commit
10e2d5a61a
1 changed files with 2 additions and 2 deletions
|
|
@ -14,12 +14,12 @@ $.widget( "mobile.page", $.mobile.widget, {
|
|||
},
|
||||
|
||||
_create: function() {
|
||||
|
||||
this.element.addClass( "ui-page ui-body-" + this.options.theme );
|
||||
|
||||
if ( this._trigger( "beforeCreate" ) === false ) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.element.addClass( "ui-page ui-body-" + this.options.theme );
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue