mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 16:34:11 +01:00
Closes issue #760.
This commit is contained in:
@@ -72,7 +72,7 @@ var Buffer = Module("Buffer", {
|
|||||||
dactyl.assert(url instanceof Ci.nsIURL);
|
dactyl.assert(url instanceof Ci.nsIURL);
|
||||||
|
|
||||||
while (count-- && url.path != "/")
|
while (count-- && url.path != "/")
|
||||||
url.path = url.path.replace(/[^\/]+\/*$/, "");
|
url.path = url.path.replace(/[^\/]*\/*$/, "");
|
||||||
|
|
||||||
dactyl.assert(!url.equals(this.documentURI));
|
dactyl.assert(!url.equals(this.documentURI));
|
||||||
dactyl.open(url.spec);
|
dactyl.open(url.spec);
|
||||||
|
|||||||
Reference in New Issue
Block a user