mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 08:38:00 +01:00
override browser.zoom.siteSpecific
This commit is contained in:
@@ -142,6 +142,9 @@ liberator.Buffer = function () //{{{
|
||||
////////////////////// 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"],
|
||||
"Show the current window fullscreen",
|
||||
"boolean", false,
|
||||
|
||||
@@ -998,9 +998,17 @@ liberator.CommandLine = function () //{{{
|
||||
|
||||
// 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;
|
||||
completionlist.show(compl);
|
||||
completionIndex = -1;
|
||||
completionlist.selectItem(completionIndex);
|
||||
|
||||
var command = this.getCommand();
|
||||
completionPrefix = command.substring(0, commandWidget.selectionStart);
|
||||
|
||||
Reference in New Issue
Block a user