Merge stash
This commit is contained in:
parent
7aadad913e
commit
e216ba6721
|
@ -12,14 +12,12 @@
|
|||
};
|
||||
|
||||
Sparkline.prototype.apply = function(el) {
|
||||
var self = this, icinga = this.icinga;
|
||||
|
||||
$('span.sparkline', el).each(function(i, element) {
|
||||
// read custom options
|
||||
var $spark = $(element);
|
||||
var labels = $spark.attr('labels').split('|');
|
||||
var formatted = $spark.attr('formatted').split('|');
|
||||
var tooltipChartTitle = $spark.attr('sparkSparklineChartTitle') || '';
|
||||
var tooltipChartTitle = $spark.attr('sparkTooltipChartTitle') || '';
|
||||
var format = $spark.attr('tooltipformat');
|
||||
var hideEmpty = $spark.attr('hideEmptyLabel') === 'true';
|
||||
$spark.sparkline(
|
||||
|
|
Loading…
Reference in New Issue