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
Check for renderer before attempting resize.
pull/632/merge
Matthew Petroff
6 years ago
parent
a99d4eaa1c
commit
6075298162
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/js/pannellum.js
+ 2
- 1
src/js/pannellum.js
View File
@@ -2882,7 +2882,8 @@ this.removeHotSpot = function(hotSpotId, sceneId) {
* @instance
*/
this.resize = function() {
onDocumentResize();
if (renderer)
onDocumentResize();
}
/**
Write
Preview
Loading…
Cancel
Save