diff options
author | Ajay Ramachandran <[email protected]> | 2019-08-31 14:06:40 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2019-08-31 14:06:40 -0400 |
commit | 516e5077a9cfc7b4b33abaf2ae886e33827c36ef (patch) | |
tree | 3a4d82dbd79855991f764239bfd0fba25d2eabb0 | |
parent | 0e93fb6f571120b1199581ab55e268119fe72edc (diff) | |
parent | 0c2ceb134b188bfdb6cb6317cd7713f9b3f36e56 (diff) | |
download | SponsorBlock-516e5077a9cfc7b4b33abaf2ae886e33827c36ef.tar.gz SponsorBlock-516e5077a9cfc7b4b33abaf2ae886e33827c36ef.zip |
Merge pull request #141 from FisheyLP/experimental
Fancy tooltip for player controls
-rw-r--r-- | content.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -577,6 +577,7 @@ function createButton(baseID, title, callback, imageName, isDraggable=false) { newButton.className = "ytp-button playerButton"; newButton.setAttribute("title", chrome.i18n.getMessage(title)); newButton.addEventListener("click", callback); + newButton.addEventListener("mouseover", getEventListeners(document.getElementsByClassName("ytp-play-button")[0]).mouseover[0].listener); // Image HTML let newButtonImage = document.createElement("img"); |