Skip to content

Commit 0470f2e

Browse files
committed
#33 Notification no longer triggered when panel onHide occurs
1 parent 2c0f93f commit 0470f2e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/Panel.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ exports.init = function() {
1414
height: 380,
1515
contentURL: Data.get("html/ConfirmPanel.html"),
1616
contentScriptFile: [ Data.get("js/ConfirmPanel.js") ],
17-
onShow: function() { getPreferences(); },
18-
onHide: function () { Notification.sendMsg("saveCancel_id"); }
17+
onShow: function() { getPreferences(); }
1918
});
2019

2120

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Saves highlighted text to a file in a specified directory",
66
"author": "Robert Byrne",
77
"license": "GNU GPL v3",
8-
"version": "2.1.2",
8+
"version": "2.1.3",
99
"preferences": [{
1010
"name": "fileName",
1111
"title": "File name?",

0 commit comments

Comments
 (0)