Misc cleanup
This commit is contained in:
parent
51dccdeaf9
commit
04e8f2e3c7
@ -209,7 +209,7 @@ if (typeof document !== "undefined" && !("classList" in document.createElement("
|
|||||||
console.log(value);
|
console.log(value);
|
||||||
console.log(sel);
|
console.log(sel);
|
||||||
console.log("Element does not have the selected attribute");
|
console.log("Element does not have the selected attribute");
|
||||||
return;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
//No value to set? Return the current value
|
//No value to set? Return the current value
|
||||||
@ -287,12 +287,12 @@ if (typeof document !== "undefined" && !("classList" in document.createElement("
|
|||||||
sel.style[prop] = val;
|
sel.style[prop] = val;
|
||||||
|
|
||||||
//Short circuit
|
//Short circuit
|
||||||
return;
|
return null;
|
||||||
}
|
}
|
||||||
else if(sel.style[equi[prop]])
|
else if(sel.style[equi[prop]])
|
||||||
{
|
{
|
||||||
sel.style[equi[prop]] = val;
|
sel.style[equi[prop]] = val;
|
||||||
return;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
//No matches? Well, lets log it for now
|
//No matches? Well, lets log it for now
|
||||||
|
@ -107,4 +107,5 @@
|
|||||||
$_.ext('post', function (url, data, callback){
|
$_.ext('post', function (url, data, callback){
|
||||||
ajax._do(url, data, callback, true);
|
ajax._do(url, data, callback, true);
|
||||||
});
|
});
|
||||||
|
|
||||||
}());
|
}());
|
Loading…
Reference in New Issue
Block a user