mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:47:59 +01:00
override browser.zoom.siteSpecific
This commit is contained in:
@@ -142,6 +142,9 @@ liberator.Buffer = function () //{{{
|
|||||||
////////////////////// OPTIONS /////////////////////////////////////////////////
|
////////////////////// OPTIONS /////////////////////////////////////////////////
|
||||||
/////////////////////////////////////////////////////////////////////////////{{{
|
/////////////////////////////////////////////////////////////////////////////{{{
|
||||||
|
|
||||||
|
// override this stupid pref, because otherwise zoom is lost after switching tabs
|
||||||
|
liberator.options.setPref("browser.zoom.siteSpecific", false);
|
||||||
|
|
||||||
liberator.options.add(["fullscreen", "fs"],
|
liberator.options.add(["fullscreen", "fs"],
|
||||||
"Show the current window fullscreen",
|
"Show the current window fullscreen",
|
||||||
"boolean", false,
|
"boolean", false,
|
||||||
|
|||||||
@@ -998,9 +998,17 @@ liberator.CommandLine = function () //{{{
|
|||||||
|
|
||||||
// liberator.log(compl);
|
// liberator.log(compl);
|
||||||
|
|
||||||
|
if (completionIndex >= 0 && completionIndex < compl.length && completionIndex < completions.length)
|
||||||
|
{
|
||||||
|
if (compl[completionIndex][0] != completions[completionIndex][0])
|
||||||
|
completionIndex = -1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
completionIndex = -1;
|
||||||
|
|
||||||
completions = compl;
|
completions = compl;
|
||||||
completionlist.show(compl);
|
completionlist.show(compl);
|
||||||
completionIndex = -1;
|
completionlist.selectItem(completionIndex);
|
||||||
|
|
||||||
var command = this.getCommand();
|
var command = this.getCommand();
|
||||||
completionPrefix = command.substring(0, commandWidget.selectionStart);
|
completionPrefix = command.substring(0, commandWidget.selectionStart);
|
||||||
|
|||||||
Reference in New Issue
Block a user