mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 06:27:14 +03:00
Add back clarified comment
This commit is contained in:
@@ -1857,6 +1857,7 @@ function createButton(baseID: string, title: string, callback: () => void, image
|
|||||||
newButton.classList.add("playerButton");
|
newButton.classList.add("playerButton");
|
||||||
newButton.classList.add("ytp-button");
|
newButton.classList.add("ytp-button");
|
||||||
if (isOnYTTV()) {
|
if (isOnYTTV()) {
|
||||||
|
// Some style needs to be set here, but the numbers don't matter
|
||||||
newButton.setAttribute("style", "width: 40px; height: 40px");
|
newButton.setAttribute("style", "width: 40px; height: 40px");
|
||||||
}
|
}
|
||||||
newButton.setAttribute("title", chrome.i18n.getMessage(title));
|
newButton.setAttribute("title", chrome.i18n.getMessage(title));
|
||||||
|
|||||||
Reference in New Issue
Block a user