This commit is contained in:
syuilo 2018-04-21 18:25:25 +09:00
parent 86e1b792c2
commit 3c80f0eaca
1 changed files with 2 additions and 2 deletions

View File

@ -54,9 +54,9 @@ const handlers = {
document.body.appendChild(blockquote); document.body.appendChild(blockquote);
}, },
title({ document }, { title }) { title({ document }, { content }) {
const h1 = document.createElement('h1'); const h1 = document.createElement('h1');
h1.textContent = title; h1.textContent = content;
document.body.appendChild(h1); document.body.appendChild(h1);
}, },