mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 15:44:11 +01:00
Whitespace fixes.
This commit is contained in:
@@ -746,7 +746,7 @@ const Events = Module("events", {
|
||||
return;
|
||||
}
|
||||
|
||||
if(isinstance(elem, [HTMLEmbedElement, HTMLEmbedElement])) {
|
||||
if (isinstance(elem, [HTMLEmbedElement, HTMLEmbedElement])) {
|
||||
dactyl.mode = modes.EMBED;
|
||||
return;
|
||||
}
|
||||
@@ -1027,7 +1027,7 @@ const Events = Module("events", {
|
||||
onMouseDown: function (event) {
|
||||
let elem = event.target;
|
||||
let win = elem.ownerDocument && elem.ownerDocument.defaultView || elem;
|
||||
for(; win; win = win != win.parent && win.parent)
|
||||
for (; win; win = win != win.parent && win.parent)
|
||||
win.dactylFocusAllowed = true;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user