X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=plugins%2Fannotations.js;h=94a064235860d6e8cff14c52778876f5da3dbe98;hb=e4a06d92cb5cb671a668ecc7b2c9c8f5155b16ea;hp=796d6c39d7c53302b13ea61c4b56ea3a51e395d3;hpb=13f8b0472ff8e7336bdf56f69ff838a1f3e76162;p=dygraphs.git diff --git a/plugins/annotations.js b/plugins/annotations.js index 796d6c3..94a0642 100644 --- a/plugins/annotations.js +++ b/plugins/annotations.js @@ -54,7 +54,7 @@ annotations.prototype.didDrawChart = function(e) { // Early out in the (common) case of zero annotations. var points = g.layout_.annotated_points; - if (!points || points.length == 0) return; + if (!points || points.length === 0) return; var containerDiv = e.canvas.parentNode; var annotationStyle = {