aboutsummaryrefslogtreecommitdiffstats
path: root/vimiumFrontend.js
diff options
context:
space:
mode:
authorPhil Crosby2010-03-07 19:06:03 -0800
committerPhil Crosby2010-03-07 22:50:33 -0800
commit6ac9de48ac9182979978a172e8b74b79be93c424 (patch)
tree4f4c35290a68969da1ff31824c22492d0edfa73c /vimiumFrontend.js
parent9209037537a58effa538fcc552357db1cf0e5e36 (diff)
downloadvimium-6ac9de48ac9182979978a172e8b74b79be93c424.tar.bz2
Make the help dialog a little more robust against the page's styles.
Diffstat (limited to 'vimiumFrontend.js')
-rw-r--r--vimiumFrontend.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/vimiumFrontend.js b/vimiumFrontend.js
index c85be722..229da7e3 100644
--- a/vimiumFrontend.js
+++ b/vimiumFrontend.js
@@ -449,6 +449,7 @@ function showHelpDialog(html) {
container.getElementsByClassName("closeButton")[0].addEventListener("click", hideHelpDialog, false);
document.body.appendChild(container);
var dialog = document.getElementById("vimiumHelpDialog");
+ dialog.style.zIndex = "99999998";
var zoomFactor = currentZoomLevel / 100.0;
dialog.style.top =
Math.max((window.innerHeight - dialog.clientHeight * zoomFactor) / 2.0, 20) / zoomFactor + "px";