Skip to content

Commit

Permalink
close popup when opening save location #145
Browse files Browse the repository at this point in the history
  • Loading branch information
quoid committed Jul 9, 2021
1 parent 977a94b commit 2074ded
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
13 changes: 7 additions & 6 deletions extension/Userscripts Extension/Resources/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@
return child_ctx;
}

// (219:0) {#if error}
// (220:0) {#if error}
function create_if_block_3(ctx) {
let div;
let t0;
Expand Down Expand Up @@ -1565,7 +1565,7 @@
};
}

// (235:8) {:else}
// (236:8) {:else}
function create_else_block$1(ctx) {
let div;
let each_blocks = [];
Expand Down Expand Up @@ -1638,7 +1638,7 @@
};
}

// (233:8) {#if items.length < 1}
// (234:8) {#if items.length < 1}
function create_if_block_2(ctx) {
let div;

Expand All @@ -1660,7 +1660,7 @@
};
}

// (230:4) {#if loading}
// (231:4) {#if loading}
function create_if_block_1$1(ctx) {
let loader;
let current;
Expand Down Expand Up @@ -1690,7 +1690,7 @@
};
}

// (237:16) {#each list as item (item.filename)}
// (238:16) {#each list as item (item.filename)}
function create_each_block$1(key_1, ctx) {
let first;
let popupitem;
Expand Down Expand Up @@ -1749,7 +1749,7 @@
};
}

// (253:0) {#if showUpdates}
// (254:0) {#if showUpdates}
function create_if_block$3(ctx) {
let updateview;
let current;
Expand Down Expand Up @@ -2055,6 +2055,7 @@

function openSaveLocation() {
browser.runtime.sendNativeMessage({ name: "OPEN_SAVE_LOCATION" });
window.close();
}

function instance$5($$self, $$props, $$invalidate) {
Expand Down
1 change: 1 addition & 0 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
function openSaveLocation() {
browser.runtime.sendNativeMessage({name: "OPEN_SAVE_LOCATION"});
window.close();
}
async function mounted() {
Expand Down

0 comments on commit 2074ded

Please sign in to comment.