mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 13:33:52 +02:00
MDL-43247 Scorm: Fix for undefined js variable when popup is blocked.
This commit is contained in:
parent
6baeabc140
commit
ed8eebeece
@ -59,6 +59,7 @@ M.mod_scormform.init = function(Y) {
|
||||
// this shouldn't happen as the pop-up here is launched on user action but good to make sure.
|
||||
setTimeout(function() {
|
||||
if (!winobj) {
|
||||
var scormintro = Y.one('#intro');
|
||||
scormintro.setHTML(M.str.scorm.popupsblocked);
|
||||
}}, 800);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user