Skip to content

Commit 2af5afe

Browse files
committed
Fix a typo
1 parent 597af1e commit 2af5afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compile/render-ssr/handlers/Element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export default function(node, renderer, options) {
141141

142142
if (name === 'group') {
143143
// TODO server-render group bindings
144-
} else if (contenteditable && (node === 'text' || node === 'html')) {
144+
} else if (contenteditable && (name === 'text' || name === 'html')) {
145145
const snippet = snip(expression)
146146
if (name == 'text') {
147147
node_contents = '${@escape(' + snippet + ')}'

0 commit comments

Comments
 (0)