From 11bd4d4d9cd4cca8c2129bdf4a1433a554849c07 Mon Sep 17 00:00:00 2001 From: Nick Krichevsky Date: Sat, 7 Mar 2015 14:43:35 -0500 Subject: [PATCH] Add hover text for buttons --- popup.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/popup.js b/popup.js index c2d6bf7..3aae40e 100644 --- a/popup.js +++ b/popup.js @@ -93,6 +93,7 @@ function setupWindowElement(currentWindow,callback){ closeButton.classList.add("windowClose"); closeButton.classList.add("noselect"); closeButton.classList.add("pointer"); + closeButton.setAttribute("title", "Close window"); textContent.addEventListener('click',function(event){ if (event.clientX>windowName.getBoundingClientRect().left && event.clientX