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

Commit fdb70b6

Browse files
apsdehalarschmitz
authored andcommitted
Page: Replace the code for triggering pageremove
Fixes #7098 Closes #8461
1 parent e76bd9c commit fdb70b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/widgets/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ $.widget( "mobile.page", {
9999
if ( !data.samePage ) {
100100
var prEvent = new $.Event( "pageremove" );
101101

102-
this.element.trigger( prEvent );
102+
this._trigger( "remove", prEvent );
103103

104104
if ( !prEvent.isDefaultPrevented() ) {
105105
this.element.removeWithDependents();

0 commit comments

Comments
 (0)