Skip to content

Commit

Permalink
Close #66 Remove autoload option
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Mar 7, 2018
1 parent 61061e5 commit a607ff2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "photo-sphere-viewer",
"version": "3.3.0-SNAPSHOT",
"version": "3.4.0-SNAPSHOT",
"authors": [
{
"name": "Jérémy Heleine",
Expand Down
1 change: 0 additions & 1 deletion src/js/PhotoSphereViewer.defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ PhotoSphereViewer.DEFAULTS = {
panorama: null,
container: null,
caption: null,
autoload: true,
usexmpdata: true,
pano_data: null,
webgl: true,
Expand Down
2 changes: 1 addition & 1 deletion src/js/PhotoSphereViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ function PhotoSphereViewer(options) {
this._bindEvents();

// load panorama
if (this.config.autoload) {
if (this.config.panorama) {
this.load();
}

Expand Down

0 comments on commit a607ff2

Please sign in to comment.