Created
October 14, 2013 10:47
-
-
Save wadouk/6973869 to your computer and use it in GitHub Desktop.
http://elevator-scores.ybonnel.cloudbees.net/
Désactiver toutes les courbes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function clickThis(anchorObj) { | |
var evt = document.createEvent("MouseEvents"); | |
evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); | |
var allowDefault = anchorObj.dispatchEvent(evt); | |
} | |
var nodeL = document.querySelectorAll(".highcharts-legend-item"); | |
for(var i = 0;i<nodeL.length;i++) { | |
clickThis(nodeL.item(i)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment