1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-27 10:42:27 +01:00

Closes issue #760.

This commit is contained in:
Kris Maglione
2011-12-28 13:16:03 -05:00
parent e9df4caa9c
commit ff4e0fa8f8

View File

@@ -72,7 +72,7 @@ var Buffer = Module("Buffer", {
dactyl.assert(url instanceof Ci.nsIURL);
while (count-- && url.path != "/")
url.path = url.path.replace(/[^\/]+\/*$/, "");
url.path = url.path.replace(/[^\/]*\/*$/, "");
dactyl.assert(!url.equals(this.documentURI));
dactyl.open(url.spec);