diff --git a/index.html b/index.html index 189200a..299b6a1 100755 --- a/index.html +++ b/index.html @@ -43,7 +43,10 @@ var reload = () => { var update_editor = function(){ // XXX make this update on enter... $('.title') - .on('blur', () => { + .focus(function(){ + $(this).text(Wiki.title) + }) + .blur(() => { Wiki.title = $('.title').text() reload() })