Skip to content
Extraits de code Groupes Projets
Valider c6f9ca8b rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

small improvements

parent d8626b5b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -43,12 +43,13 @@ window.initializeSparklines = function () { ...@@ -43,12 +43,13 @@ window.initializeSparklines = function () {
// try to find sparklines and add them clickable behaviour // try to find sparklines and add them clickable behaviour
graph.parent().find('div.sparkline').each(function () { graph.parent().find('div.sparkline').each(function () {
$(this).addClass('linked');
// find the sparkline and get it's src attribute // find the sparkline and get it's src attribute
var sparklineUrl = $('img', this).attr('data-src'); var sparklineUrl = $('img', this).attr('data-src');
if (sparklineUrl != "") { if (sparklineUrl != "") {
$(this).addClass('linked');
var params = broadcast.getValuesFromUrl(sparklineUrl); var params = broadcast.getValuesFromUrl(sparklineUrl);
for (var i = 0; i != sparklineUrlParamsToIgnore.length; ++i) { for (var i = 0; i != sparklineUrlParamsToIgnore.length; ++i) {
delete params[sparklineUrlParamsToIgnore[i]]; delete params[sparklineUrlParamsToIgnore[i]];
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter