Browse Source

fix post preview hiding; clear some CSS

master
Simon Grim 9 years ago
parent
commit
bfa925347a
  1. 4
      css/profile.css
  2. 2
      js/interface_common.js
  3. 4
      theme_calm/css/profile.css

4
css/profile.css

@ -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;
}

2
js/interface_common.js

@ -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);
} }

4
theme_calm/css/profile.css

@ -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,

Loading…
Cancel
Save