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
This commit was created on github.com and signed with GitHub’s verified signature.
The key has expired.
TwoWay Gallery v2.07:
twoWayGallery.js:
fully commented
this.eventSGalClickTouch function: reduced the time required to disable the touch event on the mGallery.
Previously it was scrolling at the same time user is scrolling the page.
Also, increased the distance required for the finger to travel to initiate the touch event.
this.verifyInput function: added error checking whether length of images and description are equal. To ensure that error does not propagate and no human errors are made.
this.prev & this.next functions: removed twConf that initiated this.setConfig each time. It is no longer required and was just doing unnecessary action.
renamed few variables here and there but it does not affect overall logic at all.
twoWayGallery.css:
fully commented
added grab cursor to sGallery when pressed and hold happens