Changeset 867906
- Timestamp:
- 03/02/2014 08:41:03 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bmo-expo/trunk/js/jquery.bmoGallery.scrollLightboxGallery.js
r805738 r867906 179 179 this.$bmo_the_gallery_thumb_area.css('overflow-x','auto'); 180 180 } 181 182 183 $(document).on('cbox_open', function(){ 184 Hammer(document.body).on("swipeleft", $.colorbox.prev); 185 Hammer(document.body).on("swiperight", $.colorbox.next); 186 }); 187 $(document).on('cbox_closed', function(){ 188 Hammer(document.body).off("swipeleft", $.colorbox.prev); 189 Hammer(document.body).off("swiperight", $.colorbox.next); 190 }); 191 181 192 182 193 }.bind(this));
Note: See TracChangeset
for help on using the changeset viewer.