From f1047f6140b95b670bff49167be9c06758490b9c Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 19 Jul 2017 10:17:08 +0100 Subject: [PATCH] Fixes #1675 --- src/core/js/views/notifyView.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/core/js/views/notifyView.js b/src/core/js/views/notifyView.js index c9d8eb8b8..e58e63926 100644 --- a/src/core/js/views/notifyView.js +++ b/src/core/js/views/notifyView.js @@ -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() { @@ -94,6 +95,10 @@ define([ Adapt.trigger("notify:cancelled"); }, + onLinkClicked: function() { + this.closeNotify(); + }, + resetNotifySize: function() { $('.notify-popup').removeAttr('style');