diff --git a/js/jquery.mobile.forms.select.custom.js b/js/jquery.mobile.forms.select.custom.js index 3ec6882b..b319b588 100644 --- a/js/jquery.mobile.forms.select.custom.js +++ b/js/jquery.mobile.forms.select.custom.js @@ -250,7 +250,7 @@ // of a dialog sized custom select if( !self.thisPage.data("page").options.domCache ){ self.thisPage.bind( "pagehide.remove", function() { - $(this).remove(); + $(self).remove(); }); }