summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-12-06 22:07:49 +0000
committerSarven Capadisli <csarven@status.net>2009-12-06 22:07:49 +0000
commit49005881bd31a022e59574277866aada41e4b76d (patch)
tree62f5a17865b451086175d889fca6f46e73ca8bee /plugins
parent3b14b61fa745d4906796ac49e78ae712f61e9643 (diff)
Minor fix for play/pause mouseleave
Diffstat (limited to 'plugins')
-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)