Commit bda31d16 authored by Alexander.Trofimov's avatar Alexander.Trofimov

scriptElem -> script

parent 304b9482
...@@ -2303,7 +2303,7 @@ CUserCacheColor.prototype.init = function(nColor) { ...@@ -2303,7 +2303,7 @@ CUserCacheColor.prototype.init = function(nColor) {
var script = document.createElement('script'); var script = document.createElement('script');
script.type = 'text/javascript'; script.type = 'text/javascript';
script.src = url; script.src = url;
script.onload = scriptElem.onerror = callback; script.onload = script.onerror = callback;
// Fire the loading // Fire the loading
document.head.appendChild(script); document.head.appendChild(script);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment