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

fixes #7084 show pointer curser only on sparklines that are linked to a graph

parent d64d68b5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -42,6 +42,9 @@ window.initializeSparklines = function () { ...@@ -42,6 +42,9 @@ 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');
......
...@@ -3,7 +3,7 @@ div.sparkline { ...@@ -3,7 +3,7 @@ div.sparkline {
border-bottom: 1px solid white; border-bottom: 1px solid white;
} }
div.sparkline:hover { div.sparkline.linked:hover {
cursor: pointer; cursor: pointer;
border-bottom: 1px dashed #c3c3c3; border-bottom: 1px dashed #c3c3c3;
} }
......
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