1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Improved toggle buttons

This commit is contained in:
nobody
2020-05-29 08:18:05 +02:00
parent 16140d8b52
commit 33ca848b74

View File

@@ -472,7 +472,9 @@ popup._onToggled = function () {
let bypassCache = (typeof browser === 'undefined');
chrome.tabs.reload(popup._targetTab.id, {bypassCache});
popup._close();
setTimeout(function () {
popup._close();
}, 300);
};
popup._close = function () {