bugfix
This commit is contained in:
parent
8c3d9cd9df
commit
57752b8433
@ -96,7 +96,7 @@ bricks.str2data = function(s, d){
|
|||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
bricks.apply_data = function(desc, data){
|
bricks.apply_data = function(desc, data){
|
||||||
if (data == {}){
|
if (Object.keys(data).length == 0){
|
||||||
return desc;
|
return desc;
|
||||||
}
|
}
|
||||||
var tmpl = JSON.stringify(desc);
|
var tmpl = JSON.stringify(desc);
|
||||||
|
Loading…
Reference in New Issue
Block a user