diff --git a/src/js/lib/dom.js b/src/js/lib/dom.js index 40f56fd..49a3a4e 100644 --- a/src/js/lib/dom.js +++ b/src/js/lib/dom.js @@ -70,8 +70,8 @@ exports.remove = function (element) { if (typeof element.remove !== 'undefined') { element.remove(); } else { - if (element.parentNode) { - element.parentNode.removeChild(element); - } + if (element.parentNode) { + element.parentNode.removeChild(element); + } } };