diff --git a/src/client/app/widgets/plots/frame.js b/src/client/app/widgets/plots/frame.js index 242ac719..5a96033b 100644 --- a/src/client/app/widgets/plots/frame.js +++ b/src/client/app/widgets/plots/frame.js @@ -48,7 +48,7 @@ class Frame extends Widget { var parser = document.createElement('a') parser.href = this.value - if (parser.hostname.match(localUrlRe)) { + if (this.value && parser.hostname.match(localUrlRe)) { this.frame.setAttribute('src', this.value) this.widget.classList.remove('error') if (this.errorTextMounted) {