From 7927cdf2ee04ef6906bcb16c3febb0f763cae561 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 28 Jul 2016 09:30:05 +0300 Subject: [PATCH] tweaking... Signed-off-by: Alex A. Naanou --- index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() })