mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 07:17:30 +09:00
Bug 431901 - Update preference dialogs to treat backspace and delete equivalently on Mac OS X
This commit is contained in:
parent
af4f1319d1
commit
078801b39f
3 changed files with 14 additions and 4 deletions
|
|
@ -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 : "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue