1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 15:07:57 +01:00

Adjust Gecko version test.

This commit is contained in:
Kris Maglione
2011-07-13 16:45:44 -04:00
parent 4da3b41d4c
commit 1a5075ea01

View File

@@ -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();