mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-30 16:14:21 +02:00
remove icon prefix
This commit is contained in:
Vendored
+2
-2
@@ -20,7 +20,7 @@ L.AwesomeMarkers.Icon = L.Icon.extend({
|
||||
iconAnchor: [17, 42],
|
||||
popupAnchor: [1, -32],
|
||||
shadowAnchor: [10, 12],
|
||||
icon: 'icon-font', // All the font-awesome icons are possible
|
||||
icon: 'font', // All the font-awesome icons are possible
|
||||
shadowSize: [36, 16],
|
||||
className: 'awesome-marker',
|
||||
color: 'blue' // red, orange, green, blue, purple
|
||||
@@ -48,7 +48,7 @@ L.AwesomeMarkers.Icon = L.Icon.extend({
|
||||
},
|
||||
|
||||
_createInner: function() {
|
||||
return "<i class='" + this.options.icon + "'></i>";
|
||||
return "<i class='icon-" + this.options.icon + "'></i>";
|
||||
},
|
||||
|
||||
_setIconStyles: function (img, name) {
|
||||
|
||||
Reference in New Issue
Block a user