Browse Source

Merge remote-tracking branch 'upstream/master'

Conflicts:
	src/js/pannellum.js
pull/166/head
Janne Cederberg 8 years ago
parent
commit
cfc8ba543d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/js/pannellum.js

+ 1
- 1
src/js/pannellum.js View File

@@ -383,7 +383,7 @@ function onImageLoad() {
container.addEventListener('mousedown', onDocumentMouseDown, false); container.addEventListener('mousedown', onDocumentMouseDown, false);
document.addEventListener('mousemove', onDocumentMouseMove, false); document.addEventListener('mousemove', onDocumentMouseMove, false);
document.addEventListener('mouseup', onDocumentMouseUp, false); document.addEventListener('mouseup', onDocumentMouseUp, false);
if ( config.mouseZoom ) {
if (config.mouseZoom) {
container.addEventListener('mousewheel', onDocumentMouseWheel, false); container.addEventListener('mousewheel', onDocumentMouseWheel, false);
container.addEventListener('DOMMouseScroll', onDocumentMouseWheel, false); container.addEventListener('DOMMouseScroll', onDocumentMouseWheel, false);
} }


Loading…
Cancel
Save