function logout() {
    $.post('/logout', function () {
        $('#editor').val('');
        sendMarkdown();
        window.location.reload()
    });
}
/**
 * Logout user from application and reload page.
 */
Logout user from application and reload page.
Logout user from application and reload page .
function logout() {
    $.post('/logout', function () {
        $('#editor').val('');
        sendMarkdown();
        window.location.reload()
    });
}
function logout ( ) { $ . post ( '/logout' , function ( ) { $ ( '#editor' ) . val ( '' ) ; sendMarkdown ( ) ; window . location . reload ( ) } ) ; }
Logout user from application and reload page.
Logout user from application and reload page .