1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 05:07:59 +01:00

limit the visual bell to the web page content area

This commit is contained in:
Doug Kearns
2007-09-05 19:33:24 +00:00
parent 9d4081eb31
commit 7c05d1346f

View File

@@ -288,7 +288,7 @@ const vimperator = (function() //{{{
// flash the visual bell
var popup = document.getElementById("vimperator-visualbell");
var win = document.getElementById("main-window");
var win = getBrowser().mPanelContainer;
var box = document.getBoxObjectFor(win);
popup.height = box.height;