fix post preview hiding; clear some CSS

This commit is contained in:
Simon Grim 2015-08-21 10:10:46 +05:00
parent 65833ed34a
commit bfa925347a
3 changed files with 1 additions and 9 deletions

View File

@ -308,7 +308,3 @@ h1.profile-name {
h2.profile-screen-name { h2.profile-screen-name {
display: block; display: block;
} }
.profile-modal .modal-buttons {
display: none;
}

View File

@ -627,7 +627,7 @@ function posPostPreview(event) {
if (textArea[0].value.length) if (textArea[0].value.length)
postPreview.html(htmlFormatMsg(textArea[0].value).html).show(); postPreview.html(htmlFormatMsg(textArea[0].value).html).show();
else else
postPreview.slideUp('fast'); postPreview.hide();
textArea.before(postPreview); textArea.before(postPreview);
} }

View File

@ -385,10 +385,6 @@ h2.profile-screen-name {
color: #8f95a4; color: #8f95a4;
} }
.profile-modal .modal-buttons {
display: none;
}
.profile-modal h1.profile-name, .profile-modal h1.profile-name,
.profile-modal h2.profile-screen-name, .profile-modal h2.profile-screen-name,
.profile-modal span.profile-location, .profile-modal span.profile-location,