aboutsummaryrefslogtreecommitdiffstats
path: root/js/lib_ajax.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib_ajax.js')
-rwxr-xr-xjs/lib_ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib_ajax.js b/js/lib_ajax.js
index 6a2ae53ee32..62899a9cd06 100755
--- a/js/lib_ajax.js
+++ b/js/lib_ajax.js
@@ -87,6 +87,7 @@ if(typeof Node=='undefined'){
// alert(tagName);
node=document.createElementNative(tagName);
var proto=new Node()
+ var name;
for(name in proto){
node[name]=proto[name];
}
@@ -118,7 +119,6 @@ if(typeof Node=='undefined'){
function getStyle(x,styleProp)
{
if (x.currentStyle){
- alert(x.currentStyle);
var y = x.currentStyle[styleProp];
}else if (window.getComputedStyle){
var y = document.defaultView.getComputedStyle(x,null).getPropertyValue(styleProp);