MDL-32582 - filter/multimedia: MP3 Flow Player doesn't work in Chrome if empty styles...
[moodle.git] / lib / javascript-static.js
index 6bf2e28..5640b44 100644 (file)
@@ -1779,6 +1779,7 @@ M.util.load_flowplayer = function() {
                     // why??
                     continue;
                 }
+                if (!allrules) continue;
                 for(var i=0; i<allrules.length; i++) {
                     rule = '';
                     if (/^\.mp3flowplayer_.*Color$/.test(allrules[i].selectorText)) {