Commit 20b2f7aa authored by Carola's avatar Carola Committed by Felix Paul Kühne

only display a black overlay for collections of files

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 25fffe1a
......@@ -115,7 +115,7 @@ $(function(){
resizeThumbnails();
});
$('a.inner').click(function(event) {
$('a.folder').click(function(event) {
$('#overlay').addClass('shown');
$('#modal ul.downloads').empty();
$(this).parent().find('.content > div').clone().appendTo('#modal ul.downloads');
......
......@@ -194,7 +194,7 @@
NSArray *episodes = [(MLShow *)mo sortedEpisodes];
[mediaInHtml addObject:[NSString stringWithFormat:
@"<div style=\"background-image:url('thumbnail/%@.png')\"> \
<a href=\"#\" class=\"inner\"> \
<a href=\"#\" class=\"inner folder\"> \
<div class=\"open icon\"></div> \
<div class=\"infos\"> \
<span class=\"first-line\">%@</span> \
......@@ -229,7 +229,7 @@
NSArray *folderItems = [(MLLabel *)mo sortedFolderItems];
[mediaInHtml addObject:[NSString stringWithFormat:
@"<div style=\"background-image:url('thumbnail/%@.png')\"> \
<a href=\"#\" class=\"inner\"> \
<a href=\"#\" class=\"inner folder\"> \
<div class=\"open icon\"></div> \
<div class=\"infos\"> \
<span class=\"first-line\">%@</span> \
......@@ -262,7 +262,7 @@
NSArray *albumTracks = [(MLAlbum *)mo sortedTracks];
[mediaInHtml addObject:[NSString stringWithFormat:
@"<div style=\"background-image:url('thumbnail/%@.png')\"> \
<a href=\"#\" class=\"inner\"> \
<a href=\"#\" class=\"inner folder\"> \
<div class=\"open icon\"></div> \
<div class=\"infos\"> \
<span class=\"first-line\">%@</span> \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment