From ce9a763cdbda1f133dd96ad5a024637384f5d2e6 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Tue, 28 Jul 2020 10:06:32 +0000 Subject: [PATCH] [Pale-Moon] Issue #1772 - Follow-up: properly reference restoreOnDemand (oops!) --- application/palemoon/components/sessionstore/SessionStore.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/palemoon/components/sessionstore/SessionStore.jsm b/application/palemoon/components/sessionstore/SessionStore.jsm index 23fdac3f81..0c3e8f134c 100644 --- a/application/palemoon/components/sessionstore/SessionStore.jsm +++ b/application/palemoon/components/sessionstore/SessionStore.jsm @@ -3240,7 +3240,7 @@ var SessionStoreInternal = { // but only if restoring on demand, to prevent request flooding (since // reloading will override the max tabs to restore concurrently mechanism). // See Issue #1772 - if (restoreOnDemand) { + if (TabRestoreQueue.prefs.restoreOnDemand) { let flags = Ci.nsIWebNavigation.LOAD_FLAGS_NONE; switch (this._cacheBehavior) { case 2: // hard refresh