Browse Source

Fix iOS onclick + hover bug

pull/15/head
PhobosK 10 years ago
parent
commit
f176e29c88
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/js/pannellum.js

+ 4
- 0
src/js/pannellum.js View File

@@ -582,6 +582,10 @@ function createHotSpots() {
loadScene(hs.sceneId); loadScene(hs.sceneId);
return false; return false;
}; };
div.ontouchend = function() {
loadScene(hs.sceneId);
return false;
};
div.style.cursor = 'pointer'; div.style.cursor = 'pointer';
span.style.cursor = 'pointer'; span.style.cursor = 'pointer';
} }


Loading…
Cancel
Save