diff -r 40a9ce0779d5 -r 639129cf95bc src/widgets/Annotation.js --- a/src/widgets/Annotation.js Fri Jul 19 17:21:13 2013 +0200 +++ b/src/widgets/Annotation.js Tue Jul 23 17:06:33 2013 +0200 @@ -34,7 +34,7 @@ + '
' + '
' + '{{#show_social}}
{{/show_social}}' - + '

{{#show_annotation_type}} » {{/show_annotation_type}} ' + + '

{{#show_annotation_type}} » {{/show_annotation_type}} ' + '( - )

' + '

{{l10n.excerpt_from}} ' + '( - )

' @@ -148,6 +148,13 @@ this.renderTemplate(); + this.$.find(".Ldt-Annotation-Title").click(function() { + if (currentAnnotation) { + _this.media.setCurrentTime(currentAnnotation.begin); + } + return false; + }); + if (this.show_social) { this.insertSubwidget(this.$.find(".Ldt-Annotation-Social"), { type: "Social" }, "socialWidget"); }