Less hurr. spaces are trimmed on Chrome too.

This commit is contained in:
Nicolas Stepien 2011-08-31 03:01:41 +02:00
parent 5a9fc4ecff
commit c061f0bdff
2 changed files with 2 additions and 3 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,8 +1432,7 @@ updater =
for input in $$ '#com_submit'
input.disabled = true
input.value = 404
# XXX Firefox - trailing spaces are trimmed
d.title = d.title.match(/.+-/)[0] + ' ' + 404
d.title = d.title.match(/.+-/)[0] + ' 404'
g.dead = true
Favicon.update()
return