diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d749698..36be0293 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -74,6 +74,7 @@ - dropdown: close menu when receiving a value - dropdown: removed empty 1st option - switch: removed `showValues` (inconsistent with menu/dropdown, feature covered by `values` property) + - frame: allow loading non local urls - widget removals - `push`, `toggle`: merged into `button` diff --git a/src/client/widgets/frames/frame.js b/src/client/widgets/frames/frame.js index 927ace17..a60f5062 100644 --- a/src/client/widgets/frames/frame.js +++ b/src/client/widgets/frames/frame.js @@ -1,6 +1,5 @@ var Widget = require('../common/widget'), html = require('nanohtml'), - {urlParser} = require('../utils'), locales = require('../../locales'), StaticProperties = require('../mixins/static_properties') @@ -47,9 +46,7 @@ class Frame extends StaticProperties(Widget, {bypass: true}) { this.value = v - var parser = urlParser(this.value) - - if (this.value && parser.isLocal()) { + if (this.value) { this.frame.setAttribute('src', this.value) this.widget.classList.remove('error') if (this.errorTextMounted) {