equal
deleted
inserted
replaced
75 |
75 |
76 IriSP.Widgets.Annotation.prototype.drawAnnotation = function(_annotation) { |
76 IriSP.Widgets.Annotation.prototype.drawAnnotation = function(_annotation) { |
77 this.lastAnnotation = _annotation.id; |
77 this.lastAnnotation = _annotation.id; |
78 var _url = (typeof _annotation.url !== "undefined" |
78 var _url = (typeof _annotation.url !== "undefined" |
79 ? _annotation.url |
79 ? _annotation.url |
80 : (document.location.href.replace(/#.*$/,'') + '#id=' + _annotation.namespacedId.name)); |
80 : (document.location.href.replace(/#.*$/,'') + '#id=' + _annotation.id)); |
81 var _text = this.l10n.watching + _annotation.title + (this.site_name ? this.l10n.on_site + this.site_name : ''); |
81 var _text = this.l10n.watching + _annotation.title + (this.site_name ? this.l10n.on_site + this.site_name : ''); |
82 var _tags = _annotation.getTagTexts(); |
82 var _tags = _annotation.getTagTexts(); |
83 if (_tags.length) { |
83 if (_tags.length) { |
84 var _html = IriSP._(_tags).map(function(_tag) { |
84 var _html = IriSP._(_tags).map(function(_tag) { |
85 return '<li class="Ldt-Annotation-TagLabel"><span>' + _tag + '</span></li>'; |
85 return '<li class="Ldt-Annotation-TagLabel"><span>' + _tag + '</span></li>'; |