Skip to content
Snippets Groups Projects
Commit 0b09652f authored by pregmodfan's avatar pregmodfan
Browse files

Some more tweaking for rules second level properties

parent a24869c1
No related branches found
No related tags found
No related merge requests found
...@@ -926,8 +926,10 @@ window.mergeRules = function(rules) { ...@@ -926,8 +926,10 @@ window.mergeRules = function(rules) {
); );
if (applies) if (applies)
{ {
combinedRule[prop] = rules[i][prop];
if ("object" != typeof combinedRule[prop])
combinedRule[prop] = rules[i][prop];
/*Some properties of rules now have second level properties. We need to check it, and change ones in combinedRule. (Good example - growth drugs. Breasts, butt, etc...) */ /*Some properties of rules now have second level properties. We need to check it, and change ones in combinedRule. (Good example - growth drugs. Breasts, butt, etc...) */
if ( "object" == typeof rules[i][prop]) if ( "object" == typeof rules[i][prop])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment