Browse Source

[Pale-Moon] Issue #1772 - Follow-up: properly reference restoreOnDemand (oops!)

pull/24/head
Moonchild 2 years ago committed by Roy Tam
parent
commit
ce9a763cdb
  1. 2
      application/palemoon/components/sessionstore/SessionStore.jsm

2
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

Loading…
Cancel
Save