dygraphs
dygraphs copied to clipboard
minor CSS bug on the website
Hey guys, thanks for creating dygraphs, it is awesome! Found a minor bug in the example code on the website, though:
On http://dygraphs.com/tutorial.html, the CSS include tag in the HTML has "src=" instead of "href=".
The include tag was giving me issues in Safari 11.1 on Mac High Sierra. I guess I originally copied-and-pasted from this page to get it going quickly in my testing, but realized this was a problem later on when none of the CSS would show up even though it looked like it was correctly being included, so it wasn't obvious to me at first. Turns out the fix was changing "src=" to "href="
<link rel="stylesheet" src="dygraph.css" />
It worked when I changed it to be:
<link type="text/css" rel="stylesheet" href="dygraph.css" />
Maybe only a Safari thing? I dunno. Granted, it is minor, but it sent me in a loop for a bit, so I thought I'd share ;)
Thanks again!