diff options
Diffstat (limited to 'application/palemoon/components/preferences/permissions.js')
-rw-r--r-- | application/palemoon/components/preferences/permissions.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/application/palemoon/components/preferences/permissions.js b/application/palemoon/components/preferences/permissions.js index 25d86fabf..30c1db8be 100644 --- a/application/palemoon/components/preferences/permissions.js +++ b/application/palemoon/components/preferences/permissions.js @@ -283,8 +283,13 @@ var gPermissionManager = { onPermissionKeyPress: 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.onPermissionDeleted(); + } }, _lastPermissionSortColumn: "", |