Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws.

This commit is contained in:
Florian Quèze
2017-01-27 10:51:02 +01:00
parent 26d4e63a09
commit 0a4ee94a29
184 changed files with 452 additions and 454 deletions

View File

@@ -30,7 +30,7 @@
var direction = frame.contentDocument
.defaultView
.window
.getComputedStyle(frame.contentDocument.getElementById("target"), "")
.getComputedStyle(frame.contentDocument.getElementById("target"))
.getPropertyValue("direction");
document.body.removeChild(frame);
document.dir = direction;