From 7c05d1346feea0ca18d99f3a43c2beeeddf55d57 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 5 Sep 2007 19:33:24 +0000 Subject: [PATCH] limit the visual bell to the web page content area --- chrome/content/vimperator/vimperator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/vimperator/vimperator.js b/chrome/content/vimperator/vimperator.js index f98a4841..1cb2477e 100644 --- a/chrome/content/vimperator/vimperator.js +++ b/chrome/content/vimperator/vimperator.js @@ -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;