Skip to content

Commit 10e2d5a

Browse files
author
scottjehl
committed
previous commit should not have switched the order of trigger and add classes. Reverted, with cleanup still in place.
1 parent ce5ce10 commit 10e2d5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/jquery.mobile.page.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ $.widget( "mobile.page", $.mobile.widget, {
1414
},
1515

1616
_create: function() {
17-
18-
this.element.addClass( "ui-page ui-body-" + this.options.theme );
1917

2018
if ( this._trigger( "beforeCreate" ) === false ) {
2119
return;
2220
}
21+
22+
this.element.addClass( "ui-page ui-body-" + this.options.theme );
2323
}
2424
});
2525

0 commit comments

Comments
 (0)