diff --git a/index.html b/index.html index 5740cea..651c699 100755 --- a/index.html +++ b/index.html @@ -75,8 +75,12 @@ $(() => { reload() + // XXX make this update on enter... $('.title') - .on('keyup', () => { Wiki.title = $('.title').text() }) + .on('blur', () => { + Wiki.title = $('.title').text() + reload() + }) // live update text... // XXX is this the right way to go for large documents??? @@ -93,8 +97,8 @@ $(() => {