Bug 699240 - Ctrl+F4 should not close app tabs on Windows. r=gavin

This commit is contained in:
Jared Wein 2011-11-03 12:14:58 -07:00
parent cf4b0419e5
commit 7b92178c4e

View File

@ -2432,7 +2432,7 @@
#else
if (aEvent.ctrlKey && !aEvent.shiftKey && !aEvent.metaKey &&
aEvent.keyCode == KeyEvent.DOM_VK_F4 &&
this.mTabBox.handleCtrlPageUpDown) {
!this.mCurrentTab.pinned) {
this.removeCurrentTab({animate: true});
aEvent.stopPropagation();
aEvent.preventDefault();