Revert "Performance data: render pie charts without freezing the UI"

This reverts commit f2b2b6a91a.

refs #3344
This commit is contained in:
Alexander A. Klimov 2018-02-07 16:54:42 +01:00
parent 801ccb80f0
commit 38438449e4
1 changed files with 4 additions and 8 deletions

View File

@ -15,17 +15,13 @@
Sparkline.prototype.onRendered = function(e) {
$(e.target).find('.sparkline').each(function() {
setTimeout(sparkline, 0, $(this));
$(this).sparkline('html', {
enableTagOptions: true,
disableTooltips: true
});
});
};
Icinga.Behaviors.Sparkline = Sparkline;
function sparkline(selector) {
selector.sparkline('html', {
enableTagOptions: true,
disableTooltips: true
});
}
})(Icinga, jQuery);