mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 23:58:03 +00:00
DFW: don't prepend comma if content_css is empty, props duck_, fixes #17690
git-svn-id: https://develop.svn.wordpress.org/trunk@18151 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
s.wp_fullscreen_editor_id = ed.id;
|
||||
s.theme_advanced_resizing = false;
|
||||
s.theme_advanced_statusbar_location = 'none';
|
||||
s.content_css = s.content_css + ',' + s.wp_fullscreen_content_css;
|
||||
s.content_css = s.content_css ? s.content_css + ',' + s.wp_fullscreen_content_css : s.wp_fullscreen_content_css;
|
||||
s.height = tinymce.isIE ? b.scrollHeight : b.offsetHeight;
|
||||
|
||||
tinymce.each(ed.getParam('wp_fullscreen_settings'), function(v, k) {
|
||||
@@ -86,18 +86,20 @@
|
||||
|
||||
fsed.render();
|
||||
|
||||
fsed.dom.bind( fsed.dom.doc, 'mousemove', function(e){
|
||||
if ( 'undefined' != fullscreen )
|
||||
if ( 'undefined' != fullscreen ) {
|
||||
fsed.dom.bind( fsed.dom.doc, 'mousemove', function(e){
|
||||
fullscreen.bounder( 'showToolbar', 'hideToolbar', 2000 );
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// Register buttons
|
||||
if ( 'undefined' != fullscreen )
|
||||
if ( 'undefined' != fullscreen ) {
|
||||
ed.addButton('fullscreen', {
|
||||
title : 'fullscreen.desc',
|
||||
onclick : function(){ fullscreen.on(); }
|
||||
});
|
||||
}
|
||||
|
||||
// END fullscreen
|
||||
//----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user