mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-27 05:01:57 +00:00
tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5172666b45
commit
7927cdf2ee
@ -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()
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user