Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Commit

Permalink
Renamed icons with leading dot
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Jun 6, 2015
1 parent b645d2a commit 0693268
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/080.files.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ _.showFiles = function(callBack, selected) {

icon = $.$.getFileExtension(file.name);
if (file.thumb)
icon = ".image";
icon = "_image";
else if (!icon.length || !file.smallIcon)
icon = ".";
icon = "_";
icon = "themes/" + _.theme + "/img/files/small/" + icon + ".png";

f = $('<tr class="file"><td class="name thumb"></td><td class="time"></td><td class="size"></td></tr>');
Expand All @@ -72,7 +72,7 @@ _.showFiles = function(callBack, selected) {
icon = _.uploadURL + "/" + _.dir + "/" + encodeURIComponent(file.name);
icon = $.$.escapeDirs(icon).replace(/\'/g, "%27");
} else {
icon = file.bigIcon ? $.$.getFileExtension(file.name) : ".";
icon = file.bigIcon ? $.$.getFileExtension(file.name) : "_";
if (!icon.length) icon = ".";
icon = "themes/" + _.theme + "/img/files/big/" + icon + ".png";
}
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 0693268

Please sign in to comment.