projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #161 from klausw-g/is-series-locked
[dygraphs.git]
/
dygraph-interaction-model.js
diff --git
a/dygraph-interaction-model.js
b/dygraph-interaction-model.js
index
6f860c3
..
4df6799
100644
(file)
--- a/
dygraph-interaction-model.js
+++ b/
dygraph-interaction-model.js
@@
-337,7
+337,7
@@
Dygraph.Interaction.endZoom = function(event, g, context) {
Math.max(context.dragStartY, context.dragEndY));
context.cancelNextDblclick = true;
} else {
Math.max(context.dragStartY, context.dragEndY));
context.cancelNextDblclick = true;
} else {
- if (zoomMoved) g.clearZoomRect_();
+ if (
context.
zoomMoved) g.clearZoomRect_();
}
context.dragStartX = null;
context.dragStartY = null;
}
context.dragStartX = null;
context.dragStartY = null;
@@
-485,7
+485,7
@@
Dygraph.Interaction.moveTouch = function(event, g, context) {
* @private
*/
Dygraph.Interaction.endTouch = 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);
}
// this is effectively a "reset"
Dygraph.Interaction.startTouch(event, g, context);
}