Permalink
Browse files

MDL-32582 - filter/multimedia: MP3 Flow Player doesn't work in Chrome…

… if empty stylesheets are present
  • Loading branch information...
1 parent 2cbdaa7 commit 42648dd4050745cc12bbbe3e10813915576498f6 @pauln pauln committed with danpoltawski Apr 23, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/javascript-static.js
View
@@ -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)) {

0 comments on commit 42648dd

Please sign in to comment.