LP#1646166 Hatch extension load-time sanity check
authorBill Erickson <berickxx@gmail.com>
Thu, 8 Dec 2016 21:26:51 +0000 (16:26 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 16 Feb 2017 20:26:18 +0000 (15:26 -0500)
commitfc1474cd4f6dd140448d9d77e19c15fbb86a9de0
tree29a63b5fac56dfecd412682e48e83b6045715067
parentf69725641964071a3ef8a9e9de7eefea5c6f11ec
LP#1646166 Hatch extension load-time sanity check

Avoid unnecessary JS errors by preventing any attempts to link the
extension to the page via document.body when (in rare cases)
document.body is null.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
extension/app/content.js