X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph.js;h=d89056eacaade26e9768e52656a89b31add2b396;hb=4fc453b8b3d1b273b707e6587f3e7acc42f66d8e;hp=b5afc7c2dee427ee64b1e781f3f81fac71581356;hpb=063e83bad654d6b5afcc156f7a2a0be4b2ea8e94;p=dygraphs.git diff --git a/dygraph.js b/dygraph.js index b5afc7c..d89056e 100644 --- a/dygraph.js +++ b/dygraph.js @@ -3715,7 +3715,8 @@ Dygraph.prototype.start_ = function() { var caller = this; req.onreadystatechange = function () { if (req.readyState == 4) { - if (req.status == 200) { + if (req.status == 200 || // Normal http + req.status == 0) { // Chrome w/ --allow-file-access-from-files caller.loadedEvent_(req.responseText); } }