1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

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
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',