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

DOM#highlight magic. Provide 'this' object for DOM#filter.

This commit is contained in:
Kris Maglione
2011-09-17 21:30:39 -04:00
parent b330d8c909
commit 062e7e2a61
4 changed files with 18 additions and 11 deletions

View File

@@ -850,7 +850,8 @@ var Events = Module("events", {
return;
if (isinstance(elem, [HTMLEmbedElement, HTMLEmbedElement])) {
modes.push(modes.EMBED);
if (!modes.main.passthrough && modes.main != modes.EMBED)
modes.push(modes.EMBED);
return;
}