Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AlterTobi committed Dec 14, 2024
1 parent 04c8c55 commit 9c48141
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wfes-AddTranslationButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
div.id = buttonID;
const link = document.createElement("a");
link.title = "Translate nomination";
link.classname = "wfesTranslateButton";
link.className = "wfesTranslateButton";
link.innerHTML = '<span class="material-icons">translate</span>';

const select = document.createElement("select");
Expand Down Expand Up @@ -97,6 +97,7 @@
const a = buttonEl.querySelector("a");
a.href = engines[currentEngine].url + encodeURIComponent(text);
a.target = engines[currentEngine].url;

}
})
.catch((e) => {console.warn(GM_info.script.name, ": ", e);});
Expand Down

0 comments on commit 9c48141

Please sign in to comment.