From 1639a1ca49aef77cb1b58364fb928a63fa4a99a0 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 28 Sep 2011 22:20:26 +0200 Subject: fix persistent playlist for media player --- files/js/fileactions.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'files/js/fileactions.js') diff --git a/files/js/fileactions.js b/files/js/fileactions.js index 4ff8562fef3..ddb16ecd5fd 100644 --- a/files/js/fileactions.js +++ b/files/js/fileactions.js @@ -53,7 +53,7 @@ FileActions={ }, display:function(parent){ FileActions.currentFile=parent; - $('.action').remove(); + $('#fileList .action').remove(); var actions=FileActions.get(FileActions.getCurrentMimeType(),FileActions.getCurrentType()); var file=FileActions.getCurrentFile(); if($('tr[data-file="'+file+'"]').data('renaming')){ @@ -104,12 +104,12 @@ FileActions={ }); parent.parent().children().last().append(element); } - $('.action').hide(); - $('.action').fadeIn(200); + $('#fileList .action').hide(); + $('#fileList .action').fadeIn(200); return false; }, hide:function(){ - $('.action').fadeOut(200,function(){ + $('#fileList .action').fadeOut(200,function(){ $(this).remove(); }); }, -- cgit v1.2.3