1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-01-11 01:25:32 +01:00

Improved toggle buttons

This commit is contained in:
nobody 2020-05-29 08:18:05 +02:00
parent 16140d8b52
commit 33ca848b74
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A

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 () {