Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstorey committed Jul 19, 2017
1 parent 4fd5650 commit f1047f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/core/js/views/notifyView.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ define([
'click .notify-popup-alert-button':'onAlertButtonClicked',
'click .notify-popup-prompt-button': 'onPromptButtonClicked',
'click .notify-popup-done': 'onCloseButtonClicked',
'click .notify-shadow': 'onCloseButtonClicked'
'click .notify-shadow': 'onCloseButtonClicked',
'click a': 'onLinkClicked'
},

render: function() {
Expand Down Expand Up @@ -94,6 +95,10 @@ define([
Adapt.trigger("notify:cancelled");
},

onLinkClicked: function() {
this.closeNotify();
},

resetNotifySize: function() {
$('.notify-popup').removeAttr('style');

Expand Down

0 comments on commit f1047f6

Please sign in to comment.