src/widgets/Polemic.js
branchnew-model
changeset 881 f11b234497f7
parent 880 4c7b33bf2795
child 882 61c384dda19e
--- a/src/widgets/Polemic.js	Thu Apr 26 19:18:57 2012 +0200
+++ b/src/widgets/Polemic.js	Fri Apr 27 19:18:21 2012 +0200
@@ -185,7 +185,9 @@
             _this.tooltip.hide();
         })
         .click(function() {
-            _this.player.popcorn.trigger("IriSP.Tweet.show", IriSP.jQuery(this).attr("annotation-id"));
+            var _id = IriSP.jQuery(this).attr("annotation-id");
+            _this.player.popcorn.trigger("IriSP.Mediafragment.setHashToAnnotation", _id);
+            _this.player.popcorn.trigger("IriSP.Tweet.show", _id);
         });
     
     this.$zone.click(function(_e) {