Delete unused code.

This commit is contained in:
lopar
2018-03-02 14:40:18 +02:00
parent 7093cf8861
commit ec4b01e4fc
5 changed files with 10 additions and 340 deletions
-18
View File
@@ -289,21 +289,6 @@ if ($header) {
return {x: x, y: y};
}
function translate() {
var strarr;
strarr = document.F1.text.value.split(' ');
for (var k = 0; k < strarr.length; k++) {
if (strarr[k].indexOf("http://") < 0 && strarr[k].indexOf('@') < 0 && strarr[k].indexOf("www.") < 0 && !(strarr[k].charAt(0) == ":" && strarr[k].charAt(strarr[k].length - 1) == ":")) {
if ((k < strarr.length - 1) && (strarr[k] == "to" || strarr[k] == "private") && (strarr[k + 1].charAt(0) == "[")) {
while ((k < strarr.length - 1) && (strarr[k].charAt(strarr[k].length - 1) != "]")) k++;
} else {
strarr[k] = convert(strarr[k])
}
}
}
document.F1.text.value = strarr.join(' ');
}
function trns() {
var strarr;
strarr = document.F1.text.value.split(' ');
@@ -336,9 +321,6 @@ if ($header) {
function subm() {
t = top.frames['chat'].currenttab;
$('input[name="chtype"]:hidden').val(t);
if (top.ChatTranslit) {
translate();
}
}
var b___filter_on = new Image;