Skip to content

Commit a30522e

Browse files
author
Gabriel Schulhof
committed
Custom select: Adding the menu page to the list of dependents has no effect, removing.
1 parent bdf50bf commit a30522e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

js/widgets/forms/select.custom.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,6 @@ $.widget( "mobile.selectmenu", $.mobile.selectmenu, {
262262
this._on( this.headerClose, { click: "_handleHeaderCloseClick" } );
263263
}
264264

265-
// track this dependency so that when the parent page
266-
// is removed on pagehide it will also remove the menupage
267-
this.thisPage.addDependents( this.menuPage );
268-
269265
return this;
270266
},
271267

0 commit comments

Comments
 (0)