From: Sarven Capadisli Date: Sun, 6 Dec 2009 22:07:49 +0000 (+0000) Subject: Minor fix for play/pause mouseleave X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=49005881bd31a022e59574277866aada41e4b76d;p=quix0rs-gnu-social.git Minor fix for play/pause mouseleave --- diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js index a760158b02..577499bf7f 100644 --- a/plugins/Realtime/realtimeupdate.js +++ b/plugins/Realtime/realtimeupdate.js @@ -197,7 +197,6 @@ RealtimeUpdate = { RealtimeUpdate.initPlayPause(); RealtimeUpdate.initAddPopup(url, timeline, RealtimeUpdate._pluginPath); - RealtimeUpdate.addNoticesHover(); }, initPlayPause: function() @@ -209,6 +208,7 @@ RealtimeUpdate = { { RealtimeUpdate._paused = false; RealtimeUpdate.showQueuedNotices(); + RealtimeUpdate.addNoticesHover(); $('#realtime_playpause').remove(); $('#realtime_actions').prepend('
  • '); @@ -228,7 +228,6 @@ RealtimeUpdate = { $('#realtime_actions').prepend('
  • '); $('#realtime_play').bind('click', function() { - RealtimeUpdate.addNoticesHover(); RealtimeUpdate.showPause(); return false; }); @@ -273,7 +272,7 @@ RealtimeUpdate = { removeNoticesHover: function() { - $('#notices_primary .notices').unbind('hover'); + $('#notices_primary .notices').unbind(); }, initAddPopup: function(url, timeline, path)