mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 10:00:08 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
94f3d912c4
commit
97d6f86ab4
@ -1098,7 +1098,7 @@ var Outline = {
|
|||||||
Backspace: function(evt){
|
Backspace: function(evt){
|
||||||
var edited = this.get('edited')
|
var edited = this.get('edited')
|
||||||
if(edited
|
if(edited
|
||||||
&& edited.selectionStart == 0
|
&& edited.selectionEnd == 0
|
||||||
// can't reclaim nested children...
|
// can't reclaim nested children...
|
||||||
&& this.get(edited, 'children').length == 0){
|
&& this.get(edited, 'children').length == 0){
|
||||||
var prev = this.get('edited', 'prev')
|
var prev = this.get('edited', 'prev')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user