projects
/
Portfolio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Beaucoup mieux que de désactiver le glissement par défaut…
[Portfolio.git]
/
skins
/
photo_film_viewer.js
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) {
};
FilmSlider.prototype.touchMoveHandler = function(evt) {
+ disableDefault(evt);
var delta = this.touchStartX - evt.pageX;
var posX = this.filmStartX - delta;
this.setFilmPosition(posX);
var delta = this.touchStartX - evt.pageX;
var posX = this.filmStartX - delta;
this.setFilmPosition(posX);