1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 07:24:13 +01:00

Try not to reset dactylFocusAllowed on hash tag change. Closes issue #237.

This commit is contained in:
Kris Maglione
2011-01-05 14:42:39 -05:00
parent 557e8fc0c1
commit 20d978bf63
3 changed files with 13 additions and 4 deletions

View File

@@ -796,7 +796,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
* @returns {nsIURI}
*/
// FIXME: createURI needed too?
newURI: function (uri, charset, base) services.io.newURI(uri.replace(/.* -> /, ""), charset, base),
newURI: function (uri, charset, base) services.io.newURI(String.replace(uri, /.* -> /, ""), charset, base),
/**
* Pretty print a JavaScript object. Use HTML markup to color certain items