Autofix small errors

This commit is contained in:
Igor Barkov [iwork]
2019-01-16 19:45:30 +02:00
parent d330721114
commit 094b8a6027
313 changed files with 736 additions and 2280 deletions
+6 -11
View File
@@ -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; }
}
}
};