Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 453ae41

Browse files
committed
Dialog Extension: remove call to _enhanced is now called by page
1 parent 702a13f commit 453ae41

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

js/widgets/page.dialog.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ $.widget( "mobile.page", $.mobile.page, {
2626
_create: function() {
2727
this._super();
2828
if( this.options.dialog ){
29-
30-
if( !this.options.enhanced ) {
31-
this._enhance();
32-
}
3329

3430
$.extend( this, {
3531
_isCloseable: false,
@@ -45,7 +41,7 @@ $.widget( "mobile.page", $.mobile.page, {
4541

4642
_enhance: function() {
4743
this._super();
48-
44+
4945
// Class the markup for dialog styling and wrap interior
5046
if( this.options.dialog ){
5147
this.element.addClass( "ui-dialog" )

0 commit comments

Comments
 (0)