figure out why it isn't launching into containers like on desktop

This commit is contained in:
idk
2019-12-24 23:08:35 -05:00
parent 274eb1a98b
commit 303bd90d84
2 changed files with 11 additions and 7 deletions

View File

@@ -33,3 +33,7 @@ function isDroid() {
}
return android;
}
function closable() {
return true;
}

View File

@@ -110,7 +110,7 @@ var contextSetup = async function(requestDetails) {
function Create(currentTab) {
function onCreated(tab) {
function closeOldTab(tab) {
if (!isDroid()) {
if (!closable()) {
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 (!isDroid()) {
if (!closable()) {
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 (!isDroid()) {
if (!closable()) {
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 (!isDroid()) {
if (!closable()) {
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 (!isDroid()) {
if (!closable()) {
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 (!isDroid()) {
if (!closable()) {
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 (!isDroid()) {
if (!closable()) {
if (tabId.id != tab.id) {
console.log(
"(isolate) Closing old, un-isolated tab",