Skip to content

Commit

Permalink
Small change
Browse files Browse the repository at this point in the history
  • Loading branch information
nikini committed Oct 15, 2017
1 parent 4241409 commit df12447
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Ionic Gallery Modal

It consists of a modal that will help you make gallery preview modal.
Last tested with Ionic 3.6.0
Last tested with Ionic 3.13.0

## Demo

Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ gulp.task('rollup:umd', function () {
// The name to use for the module for UMD/IIFE bundles
// (required for bundles with exports)
// See https://github.com/rollup/rollup/wiki/JavaScript-API#modulename
moduleName: 'ionic-gallery-modal',
name: 'ionic-gallery-modal',

// See https://github.com/rollup/rollup/wiki/JavaScript-API#globals
globals: {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ionic-gallery-modal",
"version": "0.2.6",
"version": "0.2.7",
"description": "Ionic Gallery Modal (to preview photos)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -26,7 +26,7 @@
},
"license": "MIT",
"dependencies": {
"ionic-angular": "3.6.0"
"ionic-angular": "3.7.1"
},
"devDependencies": {
"@angular/common": "4.1.3",
Expand Down
2 changes: 2 additions & 0 deletions src/gallery-modal/gallery-modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ export class GalleryModal implements OnInit {
* @param {Hammer.Event} event
*/
private panUpDownEvent(event) {
event.preventDefault();

if (this.slidesDragging || this.sliderDisabled) {
return;
}
Expand Down

0 comments on commit df12447

Please sign in to comment.