Make WordPress Core

Ticket #2645: mac-popups.diff

File mac-popups.diff, 820 bytes (added by skeltoac, 20 years ago)
  • wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js

     
    283283        html += '<title>Wrapper iframe</title>';
    284284        html += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">';
    285285        html += '<link href="' + this.getParam("css_file") + '" rel="stylesheet" type="text/css" />';
     286        if ( this.isMac ) html += '<style type="text/css">.mceWindowTitle{float:none;margin:0;text-align:center;}.mceWindowClose{float:none;position:absolute;left:0px;top:0px;}</style>';
    286287        html += '</head>';
    287288        html += '<body onload="parent.mcWindows.onLoad(\'' + name + '\');">';
    288289