Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
leporo committed Apr 20, 2019
1 parent 597af1e commit 2af5afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compile/render-ssr/handlers/Element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default function(node, renderer, options) {

if (name === 'group') {
// TODO server-render group bindings
} else if (contenteditable && (node === 'text' || node === 'html')) {
} else if (contenteditable && (name === 'text' || name === 'html')) {
const snippet = snip(expression)
if (name == 'text') {
node_contents = '${@escape(' + snippet + ')}'
Expand Down

0 comments on commit 2af5afe

Please sign in to comment.