diff --git a/pace.js b/pace.js index 0831a47..29dcf7f 100644 --- a/pace.js +++ b/pace.js @@ -302,7 +302,7 @@ try { this.getElement().parentNode.removeChild(this.getElement()); } catch (_error) { - NoTargetError = _error; + // This is ok } return this.el = void 0; }; @@ -961,7 +961,7 @@ try { bar.render(); } catch (_error) { - NoTargetError = _error; + // This is ok } if (!document.querySelector('.pace')) { return setTimeout(Pace.start, 50); @@ -983,4 +983,4 @@ } } -}).call(this); \ No newline at end of file +}).call(this);