mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-06 14:35:56 +02:00
oopsie
git-svn-id: file:///svn/phpbb/trunk@6727 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
3886559e83
commit
ac5b7a578f
@ -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
|
||||
@ -72,6 +72,8 @@ function arraypop(thearray)
|
||||
* http://www.frostjedi.com/terra/scripts/demo/caretBug.html
|
||||
*/
|
||||
function initInsertions()
|
||||
{
|
||||
if(is_ie)
|
||||
{
|
||||
document.post.message.focus();
|
||||
if (is_ie && typeof(baseHeight) != 'number')
|
||||
@ -79,6 +81,7 @@ function initInsertions()
|
||||
baseHeight = document.selection.createRange().duplicate().boundingHeight;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user