Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit ee0a92e

Browse files
committed
Minor fix
1 parent ea07f8d commit ee0a92e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

  • src/extensions/default/CloseOthers

src/extensions/default/CloseOthers/main.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ define(function (require, exports, module) {
4141
closeBelow = "file.close_below";
4242

4343
// Global vars and preferences
44-
var menuEntriesShown = {},
45-
menuItemsAdded = { closeBelow: false, closeOthers: false, closeAbove: false },
46-
prefs = PreferencesManager.getExtensionPrefs("closeOthers");
44+
var prefs = PreferencesManager.getExtensionPrefs("closeOthers"),
45+
menuEntriesShown = {};
4746

4847
prefs.definePreference("below", "boolean", true);
4948
prefs.definePreference("others", "boolean", true);
@@ -153,7 +152,7 @@ define(function (require, exports, module) {
153152
}
154153

155154
/**
156-
* Register the Commands and add the Menu Items if required on start up
155+
* Register the Commands and add the Menu Items, if required
157156
*/
158157
function initializeCommands() {
159158
var prefs = getPreferences();

0 commit comments

Comments
 (0)