Improved: Text in popup of FontAwesome (Fonts only)

This commit is contained in:
nobody 2021-04-12 06:55:48 +02:00
parent 303235c9a6
commit d9f8b3e07a
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,7 @@ helpers.extractFilenameFromPath = function (path) {
pathSegments = path.split('/');
filename = pathSegments[pathSegments.length - 1];
return filename;
return filename === '' ? pathSegments[1] : filename;
};
helpers.generateRandomHexString = function (length) {

View File

@ -576,6 +576,7 @@ targets.determineResourceName = function (filename) {
};
const ListOfFiles = {
'font-awesome': 'Font Awesome',
'leaflet.jsm': 'leaflet (JS)',
'leaflet.css': 'leaflet (CSS)',
'bluebird.min.jsm': 'bluebird',