From 1a5075ea01d327052c5dfc793e3346be32320e56 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 13 Jul 2011 16:45:44 -0400 Subject: [PATCH] Adjust Gecko version test. --- common/content/buffer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/buffer.js b/common/content/buffer.js index 5fb8fc12..d6f948c6 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -1221,7 +1221,7 @@ var Buffer = Module("buffer", { if (top != null) elem.scrollTop = top; - if (util.haveGecko("4.0") && !util.haveGecko("8.0")) + if (util.haveGecko("2.0") && !util.haveGecko("7.*")) elem.ownerDocument.defaultView .QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils) .redraw();