Skip to content

Commit

Permalink
fix: Fix an issue where Modal focus was broken during minification
Browse files Browse the repository at this point in the history
Closes #358
  • Loading branch information
zusorio committed Jan 21, 2025
1 parent 1ba6f11 commit f716dde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions html5/js/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2087,8 +2087,7 @@ class XpraClient {
let modal = false;
if (MODAL_FOCUS) {
for (const index in this.id_to_window) {
const win = this.id_to_window[index];
modal = modal || win.metadata.modal;
modal = modal || this.id_to_window[index].metadata.modal;
}
}
if (modal && !win.metadata.modal) {
Expand Down

0 comments on commit f716dde

Please sign in to comment.