| 1 | Index: admin-functions.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- admin-functions.php (revision 4106) |
|---|
| 4 | +++ admin-functions.php (working copy) |
|---|
| 5 | @@ -1228,8 +1228,6 @@ |
|---|
| 6 | } |
|---|
| 7 | |
|---|
| 8 | function the_quicktags() { |
|---|
| 9 | - // Browser detection sucks, but until Safari supports the JS needed for this to work people just assume it's a bug in WP |
|---|
| 10 | - if (!strstr($_SERVER['HTTP_USER_AGENT'], 'Safari')) { |
|---|
| 11 | echo ' |
|---|
| 12 | <div id="quicktags"> |
|---|
| 13 | '; |
|---|
| 14 | @@ -1237,7 +1235,7 @@ |
|---|
| 15 | echo ' <script type="text/javascript">if ( typeof tinyMCE == "undefined" || tinyMCE.configs.length < 1 ) edToolbar();</script> |
|---|
| 16 | </div> |
|---|
| 17 | '; |
|---|
| 18 | - } else echo ' |
|---|
| 19 | + echo ' |
|---|
| 20 | <script type="text/javascript"> |
|---|
| 21 | function edInsertContent(myField, myValue) { |
|---|
| 22 | //IE support |
|---|