Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Predrag Markovic committed Feb 13, 2025
1 parent 5434137 commit c356bc2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions studio/src/rte/osi-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@ class OsiField extends LitElement {
#handleEscKey(event) {
if (!this.showOfferSelector) return;
if (event.key === 'Escape') {
event.stopPropagation(); // Stop propagation here
if (this.showLinkEditor) {
this.showLinkEditor = false;
this.requestUpdate();
}
event.stopPropagation();
closeOfferSelectorTool();
}
}
Expand Down

0 comments on commit c356bc2

Please sign in to comment.