hopefully not making things worse...

git-svn-id: file:///svn/phpbb/trunk@6087 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2006-06-17 13:16:51 +00:00
parent add20b4a92
commit 3735ecdb16

View file

@ -210,7 +210,11 @@ function addquote(post_id, username)
if (theSelection == '') if (theSelection == '')
{ {
if (document.all) if (divarea.innerHTML)
{
theSelection = divarea.innerHTML.replace(/<br>/ig, '\n');
}
else if (document.all)
{ {
theSelection = divarea.innerText; theSelection = divarea.innerText;
} }