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