frame: allow non local urls
This commit is contained in:
parent
db12c286f0
commit
0fbfbe5ded
2 changed files with 2 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue