mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-21 14:47:31 +09:00
Fix (to TODO): Findbar throws an error - "nsIPrefBranch.getBoolPref" is not exist in browser.js
Issue #138
This commit is contained in:
parent
25b7b3d1d3
commit
fdeebefb1f
1 changed files with 5 additions and 0 deletions
|
|
@ -3798,11 +3798,16 @@ var XULBrowserWindow = {
|
||||||
gFindBar.close();
|
gFindBar.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// XXX
|
||||||
|
// See: https://github.com/MoonchildProductions/Pale-Moon/issues/364
|
||||||
|
// An actual preference: findbar.highlightAll
|
||||||
|
/*
|
||||||
if (!(gPrefService.getBoolPref("accessibility.typeaheadfind.highlightallremember") ||
|
if (!(gPrefService.getBoolPref("accessibility.typeaheadfind.highlightallremember") ||
|
||||||
gPrefService.getBoolPref("accessibility.typeaheadfind.highlightallbydefault"))) {
|
gPrefService.getBoolPref("accessibility.typeaheadfind.highlightallbydefault"))) {
|
||||||
// fix bug 253793 - turn off highlight when page changes
|
// fix bug 253793 - turn off highlight when page changes
|
||||||
gFindBar.getElement("highlight").checked = false;
|
gFindBar.getElement("highlight").checked = false;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
UpdateBackForwardCommands(gBrowser.webNavigation);
|
UpdateBackForwardCommands(gBrowser.webNavigation);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue