]> git.donarmstrong.com Git - dactyl.git/blobdiff - common/content/browser.js
Import 1.0 supporting Firefox up to 14.*
[dactyl.git] / common / content / browser.js
index cee3adbc67cc62cf42db6c15ff89f6929bd3143f..cc504ff12b97ba7c742b0a7827d0c0a8409397e4 100644 (file)
@@ -180,7 +180,7 @@ var Browser = Module("browser", XPCOM(Ci.nsISupportsWeakReference, ModuleBase),
         setOverLink: util.wrapCallback(function setOverLink(link, b) {
             setOverLink.superapply(this, arguments);
             dactyl.triggerObserver("browser.overLink", link);
-        }),
+        })
     }
 }, {
 }, {
@@ -204,6 +204,7 @@ var Browser = Module("browser", XPCOM(Ci.nsISupportsWeakReference, ModuleBase),
             function () {
                 window.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils)
                       .redraw();
+                statusline.overLink = null;
                 statusline.updateStatus();
                 commandline.clear();
             },