Skip to content

Commit 8369139

Browse files
committed
2.0.0 compatibility & fix triple tap issue
1 parent 9e9b848 commit 8369139

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ionic-img-viewer",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Ionic 2 component providing a Twitter inspired experience to visualize pictures.",
55
"main": "./dist/ionic-img-viewer.js",
66
"typings": "./dist/ionic-img-viewer.d.ts",
@@ -30,7 +30,7 @@
3030
"@angular/platform-browser": "2.2.1",
3131
"@angular/platform-browser-dynamic": "2.2.1",
3232
"@angular/platform-server": "2.2.1",
33-
"ionic-angular": "2.0.0-rc.5",
33+
"ionic-angular": ">=2.0.0-rc.5",
3434
"rxjs": "5.0.0-beta.12",
3535
"zone.js": "0.6.26"
3636
},

src/image-viewer.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const DOUBLE_TAP_INTERVAL = 300;
2424
2525
<div class="image-wrapper">
2626
<div class="image">
27-
<img [src]="imageUrl" (click)="onImageClick()" (dblclick)="onImageDblClick()" tappable />
27+
<img [src]="imageUrl" (click)="onImageClick()" tappable />
2828
</div>
2929
</div>
3030
`

0 commit comments

Comments
 (0)