summaryrefslogtreecommitdiff
path: root/plugins/Realtime/realtimeupdate.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Realtime/realtimeupdate.js')
-rw-r--r--plugins/Realtime/realtimeupdate.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js
index a760158b0..577499bf7 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('<li id="realtime_playpause"><button id="realtime_pause" class="pause" title="Pause">Pause</button></li>');
@@ -228,7 +228,6 @@ RealtimeUpdate = {
$('#realtime_actions').prepend('<li id="realtime_playpause"><span id="queued_counter"></span> <button id="realtime_play" class="play" title="Play">Play</button></li>');
$('#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)