diff --git a/common/content/buffer.js b/common/content/buffer.js index 79dc31ec..478d0571 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -44,7 +44,6 @@ function Buffer() //{{{ // FIXME: This doesn't belong here. let mainWindowID = config.mainWindowID || "main-window"; - let fontSize = util.computedStyle(document.getElementById(mainWindowID)).fontSize; styles.registerSheet("chrome://liberator/skin/liberator.css"); diff --git a/common/content/events.js b/common/content/events.js index a50bfec4..341adcc3 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -687,7 +687,7 @@ function Events() //{{{ [""], "Advance keyboard focus", function () { document.commandDispatcher.advanceFocus(); }); - mappings.add([modes.NORMAL, modes.PLAYER,modes.VISUAL, modes.CARET, modes.INSERT, modes.TEXTAREA], + mappings.add([modes.NORMAL, modes.PLAYER, modes.VISUAL, modes.CARET, modes.INSERT, modes.TEXTAREA], [""], "Rewind keyboard focus", function () { document.commandDispatcher.rewindFocus(); }); @@ -1242,13 +1242,9 @@ function Events() //{{{ { // Switch to -- PLAYER -- mode for Songbird Media Player. if (config.isPlayerWindow) - { liberator.mode = modes.PLAYER; - } else - { liberator.mode = modes.NORMAL; - } return; } diff --git a/common/content/tabs.js b/common/content/tabs.js index 81d71fff..c3cfbd10 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -49,7 +49,7 @@ function Tabs() //{{{ tabmail.__defineGetter__("mTabs", function () this.tabContainer.childNodes); tabmail.__defineGetter__("mCurrentTab", function () this.tabContainer.selectedItem); tabmail.__defineGetter__("mStrip", function () this.tabStrip); - tabmail.__defineGetter__("browsers", function () [browser for (browser in Iterator(this.mTabs))] ); + tabmail.__defineGetter__("browsers", function () [browser for (browser in Iterator(this.mTabs))]); } return tabmail; }; @@ -151,7 +151,7 @@ function Tabs() //{{{ validator: Option.validateCompleter }); - if (config.name == "Vimperator" || config.name == "Xulmus" ) + if (config.name == "Vimperator" || config.name == "Xulmus") { options.add(["activate", "act"], "Define when tabs are automatically activated",