Skip to content

Commit

Permalink
Merge pull request #2250 from raszpl/patch-3
Browse files Browse the repository at this point in the history
Update satus.js missing blur listener makes empty search disappear on…
  • Loading branch information
ImprovedTube authored May 7, 2024
2 parents 9e6518a + c51b0ea commit da7935a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions menu/satus.js
Original file line number Diff line number Diff line change
Expand Up @@ -1503,6 +1503,12 @@ satus.components.textField = function(component, skeleton) {
component.pre.update();
component.cursor.update();
});

if (skeleton.on?.blur) {
input.addEventListener('blur', function(event) {
this.parentNode.parentNode.dispatchEvent(new Event(event.type));
});
}
};
/*--------------------------------------------------------------
>>> CHART
Expand Down

0 comments on commit da7935a

Please sign in to comment.