Blah, so obvious

git-svn-id: file:///svn/phpbb/trunk@6728 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Dominik Dröscher 2006-12-07 17:35:26 +00:00
parent ac5b7a578f
commit dddffa2347

View file

@ -19,7 +19,7 @@ var is_win = ((clientPC.indexOf('win') != -1) || (clientPC.indexOf('16bit') != -
var is_mac = (clientPC.indexOf('mac') != -1);
var baseHeight;
window.onload = initInsertions();
window.onload = initInsertions;
/**
* Shows the help messages in the helpline window
@ -73,15 +73,13 @@ function arraypop(thearray)
*/
function initInsertions()
{
if(is_ie)
{
document.post.message.focus();
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if (is_ie && typeof(baseHeight) != 'number')
{
baseHeight = document.selection.createRange().duplicate().boundingHeight;
}
}
}
/**