Skip to content

Commit

Permalink
Change Notify prompt method
Browse files Browse the repository at this point in the history
  • Loading branch information
swashbuck committed May 22, 2024
1 parent 827c107 commit 55b766c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/adapt-pageIncompletePrompt.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Adapt from 'core/js/adapt';
import data from 'core/js/data';
import device from 'core/js/device';
import location from 'core/js/location';
import notify from 'core/js/notify';
import router from 'core/js/router';

class PageIncompletePrompt extends Backbone.Controller {
Expand Down Expand Up @@ -121,7 +121,7 @@ class PageIncompletePrompt extends Backbone.Controller {
}

this.listenToOnce(Adapt, 'notify:cancelled', this.onLeaveCancel);
Adapt.trigger('notify:prompt', promptObject);
notify.prompt(promptObject);
this.inPopup = true;
}

Expand Down

0 comments on commit 55b766c

Please sign in to comment.