function showPreview() {
    $('#showPreview').hide();
    $('#preview').show();

    if ($('#left_panel').css('display') == 'none') {
        setEditorPreviewHalf('',showButtonsPercentWidth, true);
    } else {
        setEditorPreviewHalf('left_panel',$('#left_panel').width(), false);
    }
}
/**
 * Display preview of document and hide button which display preview.
 */
Display preview of document and hide button which display preview.
Display preview of document and hide button which display preview .
function showPreview() {
    $('#showPreview').hide();
    $('#preview').show();
    if ($('#left_panel').css('display') == 'none') {
        setEditorPreviewHalf('',showButtonsPercentWidth, true);
    } else {
        setEditorPreviewHalf('left_panel',$('#left_panel').width(), false);
    }
}
function showPreview ( ) { $ ( '#showPreview' ) . hide ( ) ; $ ( '#preview' ) . show ( ) ; if ( $ ( '#left_panel' ) . css ( 'display' ) == 'none' ) { setEditorPreviewHalf ( '' , showButtonsPercentWidth , true ) ; } else { setEditorPreviewHalf ( 'left_panel' , $ ( '#left_panel' ) . width ( ) , false ) ; } }
Display preview of document and hide button which display preview.
Display preview of document and hide button which display preview .