From b33a7b623bd99bb53e463b84592ff949731eaf35 Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 24 Dec 2019 23:20:33 -0500 Subject: [PATCH] figure out why it isn't launching into containers like on desktop --- platform.js | 2 +- scrub.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/platform.js b/platform.js index 65197d2..abb2d5b 100644 --- a/platform.js +++ b/platform.js @@ -35,5 +35,5 @@ function isDroid() { } function notClosable() { - return false; + return true; } diff --git a/scrub.js b/scrub.js index 5164c30..5441202 100644 --- a/scrub.js +++ b/scrub.js @@ -110,7 +110,7 @@ var contextSetup = async function(requestDetails) { function Create(currentTab) { function onCreated(tab) { function closeOldTab(tab) { - if (!closable()) { + if (!notClosable()) { if (tabId.id != tab.id) { console.log( "(isolate) Closing old, un-isolated tab", @@ -150,7 +150,7 @@ var contextSetup = async function(requestDetails) { function Create(currentTab) { function onCreated(tab) { function closeOldTab(tab) { - if (!closable()) { + if (!notClosable()) { if (tabId.id != tab.id) { console.log( "(isolate) Closing old, un-isolated tab", @@ -188,7 +188,7 @@ var contextSetup = async function(requestDetails) { function Create(currentTab) { function onCreated(tab) { function closeOldTab(tab) { - if (!closable()) { + if (!notClosable()) { if (tabId.id != tab.id) { console.log( "(isolate) Closing old, un-isolated tab", @@ -226,7 +226,7 @@ var contextSetup = async function(requestDetails) { function Create(currentTab) { function onCreated(tab) { function closeOldTab(tab) { - if (!closable()) { + if (!notClosable()) { if (tabId.id != tab.id) { console.log( "(isolate) Closing old, un-isolated tab", @@ -264,7 +264,7 @@ var contextSetup = async function(requestDetails) { function Create(currentTab) { function onCreated(tab) { function closeOldTab(tab) { - if (!closable()) { + if (!notClosable()) { if (tabId.id != tab.id) { console.log( "(isolate) Closing old, un-isolated tab", @@ -302,7 +302,7 @@ var contextSetup = async function(requestDetails) { function Create(currentTab) { function onCreated(tab) { function closeOldTab(tab) { - if (!closable()) { + if (!notClosable()) { if (tabId.id != tab.id) { console.log( "(isolate) Closing old, un-isolated tab", @@ -345,7 +345,7 @@ var contextSetup = async function(requestDetails) { function Create(currentTab) { function onCreated(tab) { function closeOldTab(tab) { - if (!closable()) { + if (!notClosable()) { if (tabId.id != tab.id) { console.log( "(isolate) Closing old, un-isolated tab",