This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
pannellum
mirror of
https://github.com/mpetroff/pannellum.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
22
Wiki
Activity
Browse Source
Set XMLHttpRequest `Accept` header to request images (fixes bug with Imgur).
pull/120/merge
Matthew Petroff
8 years ago
parent
dca517ff03
commit
181deefb6f
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/js/pannellum.js
+ 1
- 0
src/js/pannellum.js
View File
@@ -330,6 +330,7 @@ function init() {
anError('There is something wrong with the panorama URL.');
}
xhr.responseType = 'blob';
xhr.setRequestHeader('Accept', 'image/*,*/*;q=0.9');
xhr.send();
}
}
Write
Preview
Loading…
Cancel
Save