mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Blah, so obvious
git-svn-id: file:///svn/phpbb/trunk@6728 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ac5b7a578f
commit
dddffa2347
1 changed files with 5 additions and 7 deletions
|
@ -19,7 +19,7 @@ var is_win = ((clientPC.indexOf('win') != -1) || (clientPC.indexOf('16bit') != -
|
||||||
var is_mac = (clientPC.indexOf('mac') != -1);
|
var is_mac = (clientPC.indexOf('mac') != -1);
|
||||||
|
|
||||||
var baseHeight;
|
var baseHeight;
|
||||||
window.onload = initInsertions();
|
window.onload = initInsertions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows the help messages in the helpline window
|
* Shows the help messages in the helpline window
|
||||||
|
@ -73,14 +73,12 @@ function arraypop(thearray)
|
||||||
*/
|
*/
|
||||||
function initInsertions()
|
function initInsertions()
|
||||||
{
|
{
|
||||||
if(is_ie)
|
var textarea = document.forms[form_name].elements[text_name];
|
||||||
{
|
textarea.focus();
|
||||||
document.post.message.focus();
|
|
||||||
if (is_ie && typeof(baseHeight) != 'number')
|
if (is_ie && typeof(baseHeight) != 'number')
|
||||||
{
|
{
|
||||||
baseHeight = document.selection.createRange().duplicate().boundingHeight;
|
baseHeight = document.selection.createRange().duplicate().boundingHeight;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue