From baaa0c6ccc2775cb76565b3ac52ce3df1bcd93f8 Mon Sep 17 00:00:00 2001 From: Rasz_pl Date: Mon, 10 Jun 2024 09:04:44 +0200 Subject: [PATCH] Update satus.js fix shortcut reset https://github.com/code-charity/youtube/issues/1446 --- menu/satus.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/menu/satus.js b/menu/satus.js index ed27087b7..288be146a 100644 --- a/menu/satus.js +++ b/menu/satus.js @@ -2411,11 +2411,10 @@ satus.components.shortcut = function(component, skeleton) { var component = this.parentNode.parentNode.parentNode.parent; component.data = component.skeleton.value || {}; + satus.storage.remove(component.storage.key); component.render(component.valueElement); - satus.storage.remove(); - this.parentNode.parentNode.parentNode.close(); window.removeEventListener('keydown', component.keydown);