fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
metaWidget wip: integrating
[fnpeditor.git]
/
modules
/
documentCanvas
/
canvas.js
diff --git
a/modules/documentCanvas/canvas.js
b/modules/documentCanvas/canvas.js
index
b4b9c29
..
a1f516d
100644
(file)
--- a/
modules/documentCanvas/canvas.js
+++ b/
modules/documentCanvas/canvas.js
@@
-201,7
+201,7
@@
Canvas.prototype.listCreate = function(options) {
Canvas.prototype.listRemove = function(options) {
var pointerElement = $(this.content.find('#' + options.pointer.getId()));
Canvas.prototype.listRemove = function(options) {
var pointerElement = $(this.content.find('#' + options.pointer.getId()));
- var listElement = options.pointer.
getClass() === 'list-items'
? pointerElement :
+ var listElement = options.pointer.
isOfClass('list-items')
? pointerElement :
pointerElement.parents('[wlxml-class|="list-items"][wlxml-tag]');
var nested = false,
pointerElement.parents('[wlxml-class|="list-items"][wlxml-tag]');
var nested = false,