summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--management/editor/elements.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/management/editor/elements.go b/management/editor/elements.go
index 97a7684..b967f8f 100644
--- a/management/editor/elements.go
+++ b/management/editor/elements.go
@@ -384,6 +384,8 @@ func Tags(fieldName string, p interface{}, attrs map[string]string) []byte {
chips.on('chip.delete', function(e, chip) {
var sel = '.tag-'+chip.tag;
+ console.log(sel);
+ console.log(chips.parent().find(sel));
chips.parent().find(sel).remove();
});
});