diff options
Diffstat (limited to 'web-ui/app/js/tags/ui/tag_list.js')
-rw-r--r-- | web-ui/app/js/tags/ui/tag_list.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/app/js/tags/ui/tag_list.js b/web-ui/app/js/tags/ui/tag_list.js index 5bbac8ca..b5b4d555 100644 --- a/web-ui/app/js/tags/ui/tag_list.js +++ b/web-ui/app/js/tags/ui/tag_list.js @@ -55,7 +55,7 @@ define( }); this.renderShortcut = function (tag, tagComponent) { - TagShortcut.appendedTo($('#tags-shortcuts'), { linkTo: tag, trigger: tagComponent}); + return TagShortcut.appendedTo($('#tags-shortcuts'), { linkTo: tag, trigger: tagComponent}); }; function renderTag(tag, defaultList, customList) { @@ -63,7 +63,7 @@ define( var tagComponent = Tag.appendedTo(list, {tag: tag}); if (_.contains(_.keys(ORDER), tag.name)) { - this.renderShortcut(tag, tagComponent); + tagComponent.attr.shortcut = this.renderShortcut(tag, tagComponent); } } |