Removes textarea resizer in favour of built-in browser support.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10894 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a1d156d794
commit
0ef82b3dcf
File diff suppressed because one or more lines are too long
|
@ -44,8 +44,8 @@ function jsToolBar(textarea) {
|
||||||
this.toolbar.className = 'jstElements';
|
this.toolbar.className = 'jstElements';
|
||||||
this.editor.parentNode.insertBefore(this.toolbar,this.editor);
|
this.editor.parentNode.insertBefore(this.toolbar,this.editor);
|
||||||
|
|
||||||
// Dragable resizing (only for gecko)
|
// Dragable resizing
|
||||||
if (this.editor.addEventListener)
|
if (this.editor.addEventListener && navigator.appVersion.match(/\bMSIE\b/))
|
||||||
{
|
{
|
||||||
this.handle = document.createElement('div');
|
this.handle = document.createElement('div');
|
||||||
this.handle.className = 'jstHandle';
|
this.handle.className = 'jstHandle';
|
||||||
|
|
Loading…
Reference in New Issue