We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d65816 commit b26ea37Copy full SHA for b26ea37
src/JavaScript/SCORM_API_wrapper.js
@@ -3,7 +3,7 @@
3
/* ===========================================================
4
5
pipwerks SCORM Wrapper for JavaScript
6
-v1.1.20150327
+v1.1.20150614
7
8
Created by Philip Hutchison, January 2008-2014
9
https://github.com/pipwerks/scorm-api-wrapper
@@ -187,7 +187,7 @@ pipwerks.SCORM.API.get = function(){
187
188
//Special handling for Plateau
189
//Thanks to Joseph Venditti for the patch
190
- if(!API && win.top.opener && win.top.opener.document) {
+ if(!API && win.top && win.top.opener && win.top.opener.document) {
191
API = find(win.top.opener.document);
192
}
193
0 commit comments