From 9243e01613c5e04ab0c1b7999a378e0656590ed3 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Fri, 13 Apr 2018 16:40:28 +0200 Subject: Fix (to TODO): Findbar throws an error - "nsIPrefBranch.getBoolPref" is not exist in browser.js Issue #138 --- application/palemoon/base/content/browser.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'application/palemoon/base/content/browser.js') diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js index 981ab5f0f..cdf139bbb 100644 --- a/application/palemoon/base/content/browser.js +++ b/application/palemoon/base/content/browser.js @@ -3798,11 +3798,16 @@ var XULBrowserWindow = { gFindBar.close(); } + // XXX + // See: https://github.com/MoonchildProductions/Pale-Moon/issues/364 + // An actual preference: findbar.highlightAll + /* if (!(gPrefService.getBoolPref("accessibility.typeaheadfind.highlightallremember") || gPrefService.getBoolPref("accessibility.typeaheadfind.highlightallbydefault"))) { // fix bug 253793 - turn off highlight when page changes gFindBar.getElement("highlight").checked = false; } + */ } } UpdateBackForwardCommands(gBrowser.webNavigation); -- cgit v1.2.3