mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-27 10:32:24 +01:00
Improved: Text in popup of FontAwesome (Fonts only)
This commit is contained in:
parent
303235c9a6
commit
d9f8b3e07a
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user