diff options
| -rw-r--r-- | phpBB/styles/prosilver/template/quickreply_editor.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/phpBB/styles/prosilver/template/quickreply_editor.html b/phpBB/styles/prosilver/template/quickreply_editor.html index a79cf4f9f8..506a3b945d 100644 --- a/phpBB/styles/prosilver/template/quickreply_editor.html +++ b/phpBB/styles/prosilver/template/quickreply_editor.html @@ -2,13 +2,11 @@ // <![CDATA[ function hide_qr(hide) { - var qr = document.getElementById('qr_editor_div'); - var qr_show = document.getElementById('qr_showeditor_div'); - qr_show.style.display = (hide) ? '' : 'none'; - qr.style.display = (hide) ? 'none' : ''; + dE('qr_editor_div'); + dE('qr_showeditor_div'); return true; } - + onload_functions.push('hide_qr(true);'); // ]]> </script> |
