mirror of
https://github.com/flynx/pWiki.git
synced 2026-01-04 00:51:08 +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(){
|
var update_editor = function(){
|
||||||
// XXX make this update on enter...
|
// XXX make this update on enter...
|
||||||
$('.title')
|
$('.title')
|
||||||
.on('blur', () => {
|
.focus(function(){
|
||||||
|
$(this).text(Wiki.title)
|
||||||
|
})
|
||||||
|
.blur(() => {
|
||||||
Wiki.title = $('.title').text()
|
Wiki.title = $('.title').text()
|
||||||
reload()
|
reload()
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user