mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2025-12-22 12:42:44 +01:00
Minor fixes
This commit is contained in:
@@ -25,8 +25,7 @@
|
|||||||
if(vw.childNodes.length == 0) {
|
if(vw.childNodes.length == 0) {
|
||||||
vw.appendChild(htmlElement);
|
vw.appendChild(htmlElement);
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
{
|
|
||||||
vw.insertBefore(htmlElement, vw.childNodes[0]);
|
vw.insertBefore(htmlElement, vw.childNodes[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
Container.prototype.resolveProperties = function (instance) {
|
Container.prototype.resolveProperties = function (instance) {
|
||||||
for(var property in instance) {
|
for(var property in instance) {
|
||||||
if(property[0] == '$') {
|
if(property[0] == '$' && instance[property] == null) {
|
||||||
var name = property.substr(1, property.length - 1);
|
var name = property.substr(1, property.length - 1);
|
||||||
instance[property] = this.resolve(name);
|
instance[property] = this.resolve(name);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user