mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-11 09:30:46 +01:00
Fixed title in createButton
This commit is contained in:
parent
47d0d340d4
commit
6e0c6332cc
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ function createButton(baseID, title, callback, imageName) {
|
|||
let newButton = document.createElement("button");
|
||||
newButton.id = baseID+"Button";
|
||||
newButton.className = "ytp-button playerButton";
|
||||
newButton.setAttribute("title", chrome.i18n.getMessage(baseID));
|
||||
newButton.setAttribute("title", chrome.i18n.getMessage(title));
|
||||
newButton.addEventListener("click", callback);
|
||||
// Image HTML
|
||||
let newButtonImage = document.createElement("img");
|
||||
|
|
Loading…
Reference in a new issue