MDL-29980 fix rules typo

Credit goes to Paul Nicholls.
This commit is contained in:
Petr Skoda 2011-10-28 15:21:02 +02:00
parent 38e9a1cc79
commit 18382a85fe

View File

@ -1692,7 +1692,7 @@ M.util.load_flowplayer = function() {
rule = '';
if (/^\.mp3flowplayer_.*Color$/.test(allrules[i].selectorText)) {
if (typeof(allrules[i].cssText) != 'undefined') {
rule = allrules[i].style.cssText;
rule = allrules[i].cssText;
} else if (typeof(allrules[i].style.cssText) != 'undefined') {
rule = allrules[i].style.cssText;
}