|
|
@ -810,7 +810,6 @@ Network.prototype._bindHammer = function() { |
|
|
|
this.hammer.on('dragend', me._onDragEnd.bind(me) ); |
|
|
|
|
|
|
|
if (this.constants.zoomable == true) { |
|
|
|
console.log('here') |
|
|
|
this.hammer.on('mousewheel', me._onMouseWheel.bind(me)); |
|
|
|
this.hammer.on('DOMMouseScroll', me._onMouseWheel.bind(me)); // for FF
|
|
|
|
this.hammer.on('pinch', me._onPinch.bind(me) ); |
|
|
|