Skip to content

Commit

Permalink
Merge pull request #2355 from raszpl/patch-3
Browse files Browse the repository at this point in the history
Update satus.js fix shortcut reset
  • Loading branch information
ImprovedTube authored Jun 11, 2024
2 parents 2622e0a + baaa0c6 commit 9925487
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions menu/satus.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9925487

Please sign in to comment.