Permalink
Browse files

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

… if empty stylesheets are present
  • Loading branch information...
pauln authored and danpoltawski committed Apr 23, 2012
1 parent f2867a8 commit 074236eee7d95960b304104adbb4eee7d238ceac
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 074236e

Please sign in to comment.