Ticket #17136: 17136.diff

File 17136.diff, 1.1 KB (added by greuben, 2 years ago)
Line 
1Index: wp-includes/js/quicktags.dev.js
2===================================================================
3--- wp-includes/js/quicktags.dev.js     (revision 17948)
4+++ wp-includes/js/quicktags.dev.js     (working copy)
5@@ -259,7 +259,8 @@
6        }
7        document.write('<input type="button" id="ed_spell" class="ed_button" onclick="edSpell(edCanvas);" title="' + quicktagsL10n.dictionaryLookup + '" value="' + quicktagsL10n.lookup + '" />');
8        document.write('<input type="button" id="ed_close" class="ed_button" onclick="edCloseAllTags();" title="' + quicktagsL10n.closeAllOpenTags + '" value="' + quicktagsL10n.closeTags + '" />');
9-       document.write('<input type="button" id="ed_fullscreen" class="ed_button" onclick="fullscreen.on();" title="' + quicktagsL10n.toggleFullscreen + '" value="' + quicktagsL10n.fullscreen + '" />');
10+       if( 'comment' != pagenow )
11+               document.write('<input type="button" id="ed_fullscreen" class="ed_button" onclick="fullscreen.on();" title="' + quicktagsL10n.toggleFullscreen + '" value="' + quicktagsL10n.fullscreen + '" />');
12 //     edShowLinks(); // disabled by default
13        document.write('</div>');
14 }