swipe-it
Advanced tools
Comparing version 0.1.13 to 0.1.14
@@ -0,1 +1,4 @@ | ||
0.1.14 | ||
* no swipe for absolute element | ||
0.1.13 | ||
@@ -2,0 +5,0 @@ * improve example |
@@ -95,5 +95,6 @@ var domify = require('domify') | ||
if (this.stat === 'reseting' || classes(el).has('swipe-holder')) return | ||
if (this.tween) this.tween.stop() | ||
// already move | ||
var sel = this.swipeEl | ||
if (el.style.position === 'absolute' && !sel) return | ||
if (this.tween) this.tween.stop() | ||
if (sel && el === sel) { | ||
@@ -100,0 +101,0 @@ e.preventDefault() |
{ | ||
"name": "swipe-it", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "Swipe a custom element out with animation", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2623709
18740