Skip to content

Commit

Permalink
Update logic.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mclemente committed Jan 31, 2024
1 parent 0abec50 commit c28d27d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/module/logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,9 @@ export class Polyglot {
console.error(error);
}
} finally {
html.find(".select2-selection__rendered").on("hover", $(this).removeAttr("title"));
$(document).on("mouseenter", ".select2-selection__rendered", function () {
$(this).removeAttr("title");
});

let selectedLanguage = this.lastSelection || prevOption || defaultLanguage;
if (!this.isLanguageKnown(selectedLanguage)) {
Expand Down

0 comments on commit c28d27d

Please sign in to comment.