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:
@@ -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) {
|
||||
|
@@ -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',
|
||||
|
Reference in New Issue
Block a user