Enable quicktags for safari. Props mattyrob. fixes #3051

git-svn-id: http://svn.automattic.com/wordpress/trunk@4164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-09-03 19:35:37 +00:00
parent 5dc1aaf918
commit 261b9c73b0
1 changed files with 1 additions and 3 deletions

View File

@ -1250,8 +1250,6 @@ function save_mod_rewrite_rules() {
}
function the_quicktags() {
// Browser detection sucks, but until Safari supports the JS needed for this to work people just assume it's a bug in WP
if (!strstr($_SERVER['HTTP_USER_AGENT'], 'Safari')) {
echo '
<div id="quicktags">
';
@ -1259,7 +1257,7 @@ function the_quicktags() {
echo ' <script type="text/javascript">if ( typeof tinyMCE == "undefined" || tinyMCE.configs.length < 1 ) edToolbar();</script>
</div>
';
} else echo '
echo '
<script type="text/javascript">
function edInsertContent(myField, myValue) {
//IE support