Skip to content

Commit

Permalink
Update satus.js missing blur listener makes empty search disappear on…
Browse files Browse the repository at this point in the history
… click
  • Loading branch information
raszpl authored May 7, 2024
1 parent 9e6518a commit c51b0ea
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 c51b0ea

Please sign in to comment.