aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2019-08-31 14:06:40 -0400
committerGitHub <[email protected]>2019-08-31 14:06:40 -0400
commit516e5077a9cfc7b4b33abaf2ae886e33827c36ef (patch)
tree3a4d82dbd79855991f764239bfd0fba25d2eabb0
parent0e93fb6f571120b1199581ab55e268119fe72edc (diff)
parent0c2ceb134b188bfdb6cb6317cd7713f9b3f36e56 (diff)
downloadSponsorBlock-516e5077a9cfc7b4b33abaf2ae886e33827c36ef.tar.gz
SponsorBlock-516e5077a9cfc7b4b33abaf2ae886e33827c36ef.zip
Merge pull request #141 from FisheyLP/experimental
Fancy tooltip for player controls
-rw-r--r--content.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/content.js b/content.js
index d6a8bf2c..48b84510 100644
--- a/content.js
+++ b/content.js
@@ -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");