1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-11 07:55:47 +01:00

Make caret visible while selected when in Visual Text Edit mode.

This commit is contained in:
Kris Maglione
2011-10-05 07:27:21 -04:00
parent e498c0662a
commit 942aa9214a
6 changed files with 85 additions and 70 deletions

View File

@@ -1837,11 +1837,11 @@ var Buffer = Module("Buffer", {
notificationCallbacks: Class(XPCOM([Ci.nsIChannelEventSink, Ci.nsIInterfaceRequestor]), {
getInterface: function getInterface(iid) this.QueryInterface(iid),
asyncOnChannelRedirect: util.wrapCallback(function (oldChannel, newChannel, flags, callback) {
asyncOnChannelRedirect: function (oldChannel, newChannel, flags, callback) {
if (newChannel instanceof Ci.nsIHttpChannel)
newChannel.requestMethod = "HEAD";
callback.onRedirectVerifyCallback(Cr.NS_OK);
})
}
})()
});
};