fix #252, 404 bug

This commit is contained in:
James Campos 2011-08-30 17:59:48 -07:00
parent ee69782280
commit 8d8699d69b
2 changed files with 3 additions and 2 deletions

View File

@ -1761,7 +1761,7 @@
input.disabled = true;
input.value = 404;
}
d.title = d.title.match(/.+- /)[0] + 404;
d.title = d.title.match(/.+-/)[0] + ' ' + 404;
g.dead = true;
Favicon.update();
return;

View File

@ -1432,7 +1432,8 @@ updater =
for input in $$ '#com_submit'
input.disabled = true
input.value = 404
d.title = d.title.match(/.+- /)[0] + 404
# XXX Firefox - trailing spaces are trimmed
d.title = d.title.match(/.+-/)[0] + ' ' + 404
g.dead = true
Favicon.update()
return