Compare commits
2 Commits
ea98c1ea73
...
573c1d8447
| Author | SHA1 | Date | |
|---|---|---|---|
| 573c1d8447 | |||
| e8b31e4351 |
@@ -23,7 +23,10 @@ export default {
|
||||
};
|
||||
document.body.ontouchend = function(e) {
|
||||
this.endValue = e.changedTouches[0].pageY;
|
||||
if (this.endValue - this.startValue > 0) {
|
||||
if (
|
||||
this.endValue - this.startValue > 0 &&
|
||||
e.changedTouches[0].pageY === e.changedTouches[0].clientY
|
||||
) {
|
||||
window.location.reload();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user