Skip to content

Commit

Permalink
No handles on touch devices.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesutherland committed Mar 18, 2012
1 parent 79bfe05 commit c35f127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/plugins/handles.js
Expand Up @@ -36,7 +36,7 @@ function init() {

var graph = this;

if (!graph.options.selection.mode || !graph.options.handles.show) return;
if (!graph.options.selection.mode || !graph.options.handles.show || 'ontouchstart' in graph.el) return;

el = graph.el;
o = graph.options.handles;
Expand Down

0 comments on commit c35f127

Please sign in to comment.