smartphoto
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -576,5 +576,6 @@ 'use strict'; | ||
var tapSecond = date.getTime(); | ||
if (Math.abs(this.tapSecond - tapSecond) <= 500) { | ||
var offset = this.tapSecond - tapSecond; | ||
this.tapSecond = tapSecond; | ||
if (Math.abs(offset) <= 500) { | ||
this.e.preventDefault(); | ||
this.tapSecond = tapSecond; | ||
this.zoomPhoto(); | ||
@@ -581,0 +582,0 @@ return; |
{ | ||
"name": "smartphoto", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "smartphoto", | ||
@@ -5,0 +5,0 @@ "homepage": "http://developer.a-blogcms.jp", |
@@ -521,5 +521,6 @@ import aTemplate from 'a-template'; | ||
const tapSecond = date.getTime(); | ||
if(Math.abs(this.tapSecond - tapSecond) <= 500) { | ||
const offset = this.tapSecond - tapSecond; | ||
this.tapSecond = tapSecond; | ||
if(Math.abs(offset) <= 500) { | ||
this.e.preventDefault(); | ||
this.tapSecond = tapSecond; | ||
this.zoomPhoto(); | ||
@@ -526,0 +527,0 @@ return; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7373085
13045