summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/preferences/cookies.js
diff options
context:
space:
mode:
Diffstat (limited to 'application/palemoon/components/preferences/cookies.js')
-rw-r--r--application/palemoon/components/preferences/cookies.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/application/palemoon/components/preferences/cookies.js b/application/palemoon/components/preferences/cookies.js
index ea7e7d4e2..d493a0056 100644
--- a/application/palemoon/components/preferences/cookies.js
+++ b/application/palemoon/components/preferences/cookies.js
@@ -725,8 +725,13 @@ var gCookiesWindow = {
},
onCookieKeyPress: function (aEvent) {
- if (aEvent.keyCode == 46)
+ if (aEvent.keyCode == KeyEvent.DOM_VK_DELETE
+#ifdef XP_MACOSX
+ || aEvent.keyCode == KeyEvent.DOM_VK_BACK_SPACE
+#endif
+ ) {
this.deleteCookie();
+ }
},
_lastSortProperty : "",