1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-15 23:23:34 +01:00

Fix :runtime completion.

This commit is contained in:
Kris Maglione
2010-12-17 20:01:59 -05:00
parent 754d490a56
commit 8f4d26f9ac
11 changed files with 39 additions and 38 deletions

View File

@@ -713,7 +713,7 @@ const Events = Module("events", {
if (elem == null && Editor.getEditor(win))
elem = win;
if (win && win.top == window.content && dactyl.has("tabs"))
if (win && win.top == content && dactyl.has("tabs"))
buffer.focusedFrame = win;
try {
@@ -1064,7 +1064,7 @@ const Events = Module("events", {
isContentNode: function isContentNode(node) {
let win = (node.ownerDocument || node).defaultView || node;
for (; win; win = win.parent != win && win.parent)
if (win == window.content)
if (win == content)
return true;
return false;
},