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

Some constants to save my sanity.

This commit is contained in:
Kris Maglione
2010-12-31 00:30:59 -05:00
parent 2181874af3
commit 3f3e89e270
4 changed files with 33 additions and 22 deletions

View File

@@ -301,7 +301,9 @@ var Buffer = Module("buffer", {
uri && uri.scheme === "dactyl" && webProgress.isLoadingDocument;
util.timeout(function () {
buffer._triggerLoadAutocmd("LocationChange", webProgress.DOMWindow ? webProgress.DOMWindow.document : content.document, uri);
buffer._triggerLoadAutocmd("LocationChange",
(webProgress.DOMWindow || content).document,
uri);
});
// if this is not delayed we get the position of the old buffer