diff --git a/WebApps/S6-MULTIPLAYER/script.js b/WebApps/S6-MULTIPLAYER/script.js index bb48f66..f714b64 100644 --- a/WebApps/S6-MULTIPLAYER/script.js +++ b/WebApps/S6-MULTIPLAYER/script.js @@ -184,7 +184,7 @@ function attachPinch(indexDisplay){ $(image).data("hammer", hammerObj2); - $(image).hammer().on("pinch", function(event) { + $(wrapper).hammer().on("pinch", function(event) { console.log('pinching'); var photo = $(this);