Skip to content

Commit

Permalink
Merge pull request #327 from Dorako/master
Browse files Browse the repository at this point in the history
Remove button class from 'globe' icon
  • Loading branch information
mclemente authored Oct 15, 2023
2 parents 3781cc6 + 630b218 commit 94318d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default class PolyglotHooks {
? `data-tooltip="${language}" data-tooltip-direction="LEFT"`
: "";
const clickable = isGM && (runifyGM || !displayTranslated);
const button = $(`<a class="button polyglot-message-language ${clickable ? "" : "unclickable"}" ${title}>
const button = $(`<a class="polyglot-message-language ${clickable ? "" : "unclickable"}" ${title}>
<i class="fas fa-globe" style="color:${color}"></i>
</a>`);
metadata.find(".polyglot-message-language").remove();
Expand Down

0 comments on commit 94318d4

Please sign in to comment.