var modal = $('#modal_dialog_user_login'); if (!modal.hasClass('in')) { $('#login-form').html('
<\/div>\n
<\/div>