mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 08:03:51 +02:00
Merge pull request #3 from fbeauchamp/master
use the size given in options
This commit is contained in:
Vendored
+1
-1
@@ -62,7 +62,7 @@ L.AwesomeMarkers.Icon = L.Icon.extend({
|
||||
|
||||
_setIconStyles: function (img, name) {
|
||||
var options = this.options,
|
||||
size = L.point(options[name + 'Size']),
|
||||
size = L.point(options[name == 'shadow' ? 'shadowSize' : 'iconSize']),
|
||||
anchor;
|
||||
|
||||
if (name === 'shadow') {
|
||||
|
||||
Reference in New Issue
Block a user