A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/commit/0f2cb09444e8b2a5fa41aaf8c94e6f2f43e00c2f below:

work around old Chrome bug · vuejs/vue@0f2cb09 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+5

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+5

-0

lines changed Original file line number Diff line number Diff line change

@@ -28,6 +28,11 @@ function updateDOMProps (oldVnode: VNodeWithData, vnode: VNodeWithData) {

28 28

if (key === 'textContent' || key === 'innerHTML') {

29 29

if (vnode.children) vnode.children.length = 0

30 30

if (cur === oldProps[key]) continue

31 +

// #6601 work around Chrome version <= 55 bug where single textNode

32 +

// replaced by innerHTML/textContent retains its parentNode property

33 +

if (elm.childNodes.length === 1) {

34 +

elm.removeChild(elm.childNodes[0])

35 +

}

31 36

}

32 37 33 38

if (key === 'value') {

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4