Autofix small errors
This commit is contained in:
+6
-11
@@ -2,7 +2,7 @@ var sml_img = { };
|
||||
|
||||
Element.prototype.remove = function() {
|
||||
this.parentElement.removeChild(this);
|
||||
}
|
||||
};
|
||||
|
||||
NodeList.prototype.remove = HTMLCollection.prototype.remove = function() {
|
||||
for(var i = 0, len = this.length; i < len; i++) {
|
||||
@@ -10,7 +10,7 @@ NodeList.prototype.remove = HTMLCollection.prototype.remove = function() {
|
||||
this[i].parentElement.removeChild(this[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
var chat = {
|
||||
key:'',
|
||||
@@ -650,12 +650,7 @@ var chat = {
|
||||
},
|
||||
isNumber:function(s)
|
||||
{
|
||||
if(!isNaN(s))
|
||||
{
|
||||
s = true;
|
||||
}else{
|
||||
s = false;
|
||||
}
|
||||
s = !isNaN(s);
|
||||
return s;
|
||||
},
|
||||
testSmile:function(txt)
|
||||
@@ -744,7 +739,7 @@ var chat = {
|
||||
}else if(this.sound == 2) {
|
||||
svolm = 100;
|
||||
}
|
||||
var M$ = navigator.appName.indexOf("Microsoft")!=-1
|
||||
var M$ = navigator.appName.indexOf("Microsoft")!=-1;
|
||||
if(!M$ && this.getSwf('Sound').SetVariable == undefined) {
|
||||
document.getElementById('Sound2').SetVariable("Volume",svolm);
|
||||
document.getElementById('Sound2').SetVariable("Sndplay",s);
|
||||
@@ -754,7 +749,7 @@ var chat = {
|
||||
}
|
||||
},
|
||||
getSwf:function(val) {
|
||||
var M$ = navigator.appName.indexOf("Microsoft")!=-1
|
||||
var M$ = navigator.appName.indexOf("Microsoft")!=-1;
|
||||
return (M$ ? window : document)[val]
|
||||
},
|
||||
trim:function(s)
|
||||
@@ -830,4 +825,4 @@ var chat = {
|
||||
if(data.key!=undefined){ this.key = data.key; }
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user