Skip to content

Commit

Permalink
Minor refactoring part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mmurph211 committed Nov 10, 2010
1 parent d13c7fd commit 4a48bbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascripts/MooGrid.js
Expand Up @@ -456,10 +456,10 @@ var MooGrid = new Class({
j = 0;
cssElText = [];
for (var prop in rules[rule]) {
cssElText[j++] = prop + " : " + rules[rule][prop] + ";";
cssElText[j++] = prop + ":" + rules[rule][prop] + ";";
}
if (j > 0) {
cssText[i++] = idRulePrefix + rule + " { " + cssElText.join(" ") + " }";
cssText[i++] = idRulePrefix + rule + "{" + ((j === 1) ? cssElText[0] : cssElText.join("")) + "}";
}
}

Expand Down

0 comments on commit 4a48bbf

Please sign in to comment.