RealtimeUpdate.initPlayPause();
RealtimeUpdate.initAddPopup(url, timeline, RealtimeUpdate._pluginPath);
- RealtimeUpdate.addNoticesHover();
},
initPlayPause: function()
{
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>');
$('#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;
});
removeNoticesHover: function()
{
- $('#notices_primary .notices').unbind('hover');
+ $('#notices_primary .notices').unbind();
},
initAddPopup: function(url, timeline, path)