1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 20:27:58 +01:00

Fix "Edit Element Style", "New Attribute", etc. in Firebug.

This commit is contained in:
Kris Maglione
2011-02-14 14:00:47 -05:00
parent 6392a8e9dd
commit 69c9a9e485
2 changed files with 2 additions and 2 deletions

View File

@@ -1242,9 +1242,9 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
let re = util.regexp(<![CDATA[ let re = util.regexp(<![CDATA[
^ ( ^ (
<domain>+ \. [a-z0-9]+ (:\d+)? (/ .*)? |
<domain>+ (:\d+)? (/ .*) | <domain>+ (:\d+)? (/ .*) |
<domain>+ (:\d+) | <domain>+ (:\d+) |
<domain>+ \. [a-z0-9]+ |
localhost localhost
) $ ) $
]]>, "gi", { ]]>, "gi", {

View File

@@ -168,7 +168,7 @@ var Modes = Module("modes", {
prefs.set("accessibility.browsewithcaret", false); prefs.set("accessibility.browsewithcaret", false);
statusline.updateUrl(); statusline.updateUrl();
if (!stack.fromFocus && (prev.main.input || prev.main.ownsFocus)) if (!stack.fromFocus && prev.main.ownsFocus)
dactyl.focusContent(true); dactyl.focusContent(true);
if (prev.main == modes.NORMAL) { if (prev.main == modes.NORMAL) {
dactyl.focusContent(true); dactyl.focusContent(true);