X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-interaction-model.js;h=4df67997104dd81e9f37950deb234488c970dbaf;hb=42a9ebb8f492d2541a3904894447a7c74ba4cfd5;hp=5185b3dc69ae573d65c8e5691cf6b48484da7b39;hpb=fefe0bfe5e8e551e1fdb886408a335139a5f8ba3;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); }