src/widgets/Polemic.js
changeset 964 d7d56ea2d0a6
parent 959 ee11ed1b739e
child 983 97fef7a4b189
equal deleted inserted replaced
963:d58d0dcdb640 964:d7d56ea2d0a6
   166                 _el.mouseover(function() {
   166                 _el.mouseover(function() {
   167                     _annotation.trigger("select");
   167                     _annotation.trigger("select");
   168                 }).mouseout(function() {
   168                 }).mouseout(function() {
   169                     _annotation.trigger("unselect");
   169                     _annotation.trigger("unselect");
   170                 }).click(function() {
   170                 }).click(function() {
   171                     _this.player.trigger("Mediafragment.setHashToAnnotation", _annotation.id);
   171                     _annotation.trigger("click");
   172                     _this.player.trigger("Tweet.show", _annotation.id);
       
   173                 });
   172                 });
   174                 _annotation.on("select", function() {
   173                 _annotation.on("select", function() {
   175                     _this.tooltip.show(
   174                     _this.tooltip.show(
   176                         Math.floor(_elx + (_this.element_width - 1) / 2),
   175                         Math.floor(_elx + (_this.element_width - 1) / 2),
   177                         _ely,
   176                         _ely,