Page 1 of 1

click on charts does not work

Posted: 06 Jun 2018, 19:23
by Ainhoa
En App.js there are a div with onclick= onDocument... if I delete this parameter, when I click on the legend of my graph it works ok, but otherwise, this method prevents the graphic is being executed. I dont understand this.

Re: click on charts does not work

Posted: 11 Jun 2018, 11:59
by merve7
This function(onDocumentClick) has been added for other features of the theme.
Please,you can try to add event.preventDefault(); in onDocumentClick.