You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of having "mousemove" Event listen for all the time
el.on('mousedown', imgMouseDown);
//el.on('mousemove', imgMouseMove);
$(window).on('mouseup', imgMouseUp);
Instead of having "mousemove" Event listen for all the time
el.on('mousedown', imgMouseDown);
//el.on('mousemove', imgMouseMove);
$(window).on('mouseup', imgMouseUp);
/*******************************************************************************************/
Adjustment as below
imgMouseDown = function(e)
{
el.on('mousemove', imgMouseMove);
}
imgMouseUp = function(e)
{
el.off('mousemove');
}
/***********************************************************************************************/
I have also change from "bind" to "on"
The text was updated successfully, but these errors were encountered: