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 fe6252850f
commit 7a61df2776

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();