X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-interaction-model.js;h=4df67997104dd81e9f37950deb234488c970dbaf;hb=e5763589f0c999fd3a1747f39de770c0b1f18d15;hp=5185b3dc69ae573d65c8e5691cf6b48484da7b39;hpb=42b3b41f9df17ebdef993224863cbc0d3464acb1;p=dygraphs.git diff --git a/dygraph-interaction-model.js b/dygraph-interaction-model.js index 5185b3d..4df6799 100644 --- a/dygraph-interaction-model.js +++ b/dygraph-interaction-model.js @@ -485,7 +485,7 @@ Dygraph.Interaction.moveTouch = function(event, g, context) { * @private */ Dygraph.Interaction.endTouch = function(event, g, context) { - if (event.touches.length != 0) { + if (event.touches.length !== 0) { // this is effectively a "reset" Dygraph.Interaction.startTouch(event, g, context); }