mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Merge pull request #24 from nlemoine/master
afterUpdate call: fixed undefined opt
This commit is contained in:
+3
-2
@@ -172,7 +172,8 @@
|
||||
$.fn.mapael.updateElem(elemOptions, plots[id], $tooltip, animDuration);
|
||||
}
|
||||
|
||||
opt.afterUpdate && opt.afterUpdate($self, paper, areas, plots, options);
|
||||
if( typeof opt != 'undefined' )
|
||||
opt.afterUpdate && opt.afterUpdate($self, paper, areas, plots, options);
|
||||
});
|
||||
|
||||
// Handle resizing of the map
|
||||
@@ -863,4 +864,4 @@
|
||||
, areas : {}
|
||||
, plots : {}
|
||||
};
|
||||
})(jQuery);
|
||||
})(jQuery);
|
||||
|
||||
Reference in New Issue
Block a user