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('/');
|
pathSegments = path.split('/');
|
||||||
filename = pathSegments[pathSegments.length - 1];
|
filename = pathSegments[pathSegments.length - 1];
|
||||||
|
|
||||||
return filename;
|
return filename === '' ? pathSegments[1] : filename;
|
||||||
};
|
};
|
||||||
|
|
||||||
helpers.generateRandomHexString = function (length) {
|
helpers.generateRandomHexString = function (length) {
|
||||||
|
|
|
@ -576,6 +576,7 @@ targets.determineResourceName = function (filename) {
|
||||||
};
|
};
|
||||||
|
|
||||||
const ListOfFiles = {
|
const ListOfFiles = {
|
||||||
|
'font-awesome': 'Font Awesome',
|
||||||
'leaflet.jsm': 'leaflet (JS)',
|
'leaflet.jsm': 'leaflet (JS)',
|
||||||
'leaflet.css': 'leaflet (CSS)',
|
'leaflet.css': 'leaflet (CSS)',
|
||||||
'bluebird.min.jsm': 'bluebird',
|
'bluebird.min.jsm': 'bluebird',
|
||||||
|
|
Loading…
Reference in New Issue