Chaning src of webview should always do a load
Previously changing src to the same value won't have any effect, which does not follow the behavior of browsers.
This commit is contained in:
parent
129cdb7680
commit
23afffa46d
1 changed files with 1 additions and 4 deletions
|
@ -138,10 +138,7 @@ class SrcAttribute extends WebViewAttribute
|
||||||
setupMutationObserver: ->
|
setupMutationObserver: ->
|
||||||
@observer = new MutationObserver (mutations) =>
|
@observer = new MutationObserver (mutations) =>
|
||||||
for mutation in mutations
|
for mutation in mutations
|
||||||
oldValue = mutation.oldValue
|
@handleMutation mutation.oldValue, @getValue()
|
||||||
newValue = @getValue()
|
|
||||||
return if oldValue isnt newValue
|
|
||||||
@handleMutation oldValue, newValue
|
|
||||||
params =
|
params =
|
||||||
attributes: true,
|
attributes: true,
|
||||||
attributeOldValue: true,
|
attributeOldValue: true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue