diff options
Diffstat (limited to 'itjs')
-rw-r--r-- | itjs/it.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -150,7 +150,10 @@ function it_set(dst, src) for (var i in src) { if (typeof src[i] == 'object') - it_set(dst[i], src[i]); + { + if (dst[i]) + it_set(dst[i], src[i]); + } else dst[i] = src[i]; } |