From bfa925347a133fea3ddcf4a594a9b5a0dbfd68e3 Mon Sep 17 00:00:00 2001 From: Simon Grim Date: Fri, 21 Aug 2015 10:10:46 +0500 Subject: [PATCH] fix post preview hiding; clear some CSS --- css/profile.css | 4 ---- js/interface_common.js | 2 +- theme_calm/css/profile.css | 4 ---- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/css/profile.css b/css/profile.css index 96dd839..f0c2b39 100644 --- a/css/profile.css +++ b/css/profile.css @@ -308,7 +308,3 @@ h1.profile-name { h2.profile-screen-name { display: block; } - -.profile-modal .modal-buttons { - display: none; -} diff --git a/js/interface_common.js b/js/interface_common.js index a3d1e93..e7a4065 100644 --- a/js/interface_common.js +++ b/js/interface_common.js @@ -627,7 +627,7 @@ function posPostPreview(event) { if (textArea[0].value.length) postPreview.html(htmlFormatMsg(textArea[0].value).html).show(); else - postPreview.slideUp('fast'); + postPreview.hide(); textArea.before(postPreview); } diff --git a/theme_calm/css/profile.css b/theme_calm/css/profile.css index adf7f4a..929edc9 100644 --- a/theme_calm/css/profile.css +++ b/theme_calm/css/profile.css @@ -385,10 +385,6 @@ h2.profile-screen-name { color: #8f95a4; } -.profile-modal .modal-buttons { - display: none; -} - .profile-modal h1.profile-name, .profile-modal h2.profile-screen-name, .profile-modal span.profile-location,