Fix markup

This commit is contained in:
aignatov-bio 2020-09-24 13:32:43 +02:00
parent ff33cb45e0
commit 4f7814cff4

View file

@ -86,7 +86,7 @@ var SmartAnnotation = (function() {
},
tplEval: function(_tpl, items) {
var $items = $(items.name);
$items.find('li').data('item-data', {'atwho-at': at}); // Emulate at.js insertContentFor method
$items.find('li').data('item-data', { 'atwho-at': at }); // Emulate at.js insertContentFor method
return $items;
},
highlighter: function(li, query) {
@ -183,7 +183,7 @@ var SmartAnnotation = (function() {
},
tplEval: function(_tpl, items) {
var $items = $(items.name);
$items.find('li').data('item-data', {'atwho-at': '@'}); // Emulate at.js insertContentFor method
$items.find('li').data('item-data', { 'atwho-at': '@' }); // Emulate at.js insertContentFor method
return $items;
},
highlighter: function(li, query) {