From: Michael J. Rubinsky Date: Sat, 8 Jan 2011 00:06:48 +0000 (-0500) Subject: Add swipe navigation to image view X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e6c02235cdc71d7b0df4d144dd5bd9906dfc1647;p=horde.git Add swipe navigation to image view --- diff --git a/ansel/js/mobile.js b/ansel/js/mobile.js index 804093388..e1bada30a 100644 --- a/ansel/js/mobile.js +++ b/ansel/js/mobile.js @@ -20,12 +20,19 @@ var AnselMobile = { */ currentGallery: null, + /** + * Array of images in the currentGallery + * + * @var array + */ currentImages: null, /** - * Currently loaded image thumbnails + * The index in currentImages[] for the currently displayed image + * + * @var integer */ - //imgs: [], + currentImage: null, /** * Build a gallery list @@ -48,6 +55,11 @@ var AnselMobile = { return l; }, + /** + * Build a