projects
/
Portfolio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26f695c
)
Beaucoup mieux que de désactiver le glissement par défaut…
author
Benoît Pin
<benoit.pin@gmail.com>
Tue, 15 Jul 2014 19:36:16 +0000
(21:36 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Tue, 15 Jul 2014 19:36:16 +0000
(21:36 +0200)
skins/photo_film_viewer.js
patch
|
blob
|
history
diff --git
a/skins/photo_film_viewer.js
b/skins/photo_film_viewer.js
index
35679e1
..
7561e24
100644
(file)
--- a/
skins/photo_film_viewer.js
+++ b/
skins/photo_film_viewer.js
@@
-617,6
+617,7
@@
FilmSlider.prototype.touchStartHandler = function(evt) {
};
FilmSlider.prototype.touchMoveHandler = function(evt) {
+ disableDefault(evt);
var delta = this.touchStartX - evt.pageX;
var posX = this.filmStartX - delta;
this.setFilmPosition(posX);