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
Every once in a while, when the mouse moves out of the image, the following error is seen:
jquery.magnify.js:87 Uncaught TypeError: Cannot read property '0' of undefined
at HTMLUnknownElement.moveLens (jquery.magnify.js:87)
at HTMLUnknownElement.dispatch (jquery.js:5237)
at HTMLUnknownElement.elemData.handle (jquery.js:5044)
If we can maybe return from the moveLens method if the event doesn't have a originalEvent, then perhaps that might be a good enough workaround?
// Save last coordinates in case we need to call this function directly (required when
// updating magnifiedWidth/magnifiedHeight while the lens is visible).
nPosX = e.pageX || e.originalEvent.touches[0].pageX;
nPosY = e.pageY || e.originalEvent.touches[0].pageY;
The text was updated successfully, but these errors were encountered:
Every once in a while, when the mouse moves out of the image, the following error is seen:
If we can maybe return from the
moveLens
method if the event doesn't have aoriginalEvent
, then perhaps that might be a good enough workaround?The text was updated successfully, but these errors were encountered: