From 7c9a7590f30873df16941057c59abdb4b8672836 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Wed, 9 Jul 2014 14:57:58 +0700 Subject: Change message privacy --- web/scripts3.js | 8 ++++++++ web/style3.css | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'web') diff --git a/web/scripts3.js b/web/scripts3.js index e0a39fa4..9cb72a98 100644 --- a/web/scripts3.js +++ b/web/scripts3.js @@ -266,6 +266,14 @@ function setPopular(e,mid,popular) { return false; } +function setPrivacy(e,mid) { + $.ajax('http://api.juick.com/messages/set_privacy?mid='+mid+'&hash='+hash).done(function() { + var a=$(e).closest("article"); + a.append("

OK!

"); + }); + return false; +} + /******************************************************************************/ jQuery.fn.selectText = function(){ diff --git a/web/style3.css b/web/style3.css index b2369d03..0f23d6b4 100644 --- a/web/style3.css +++ b/web/style3.css @@ -175,7 +175,7 @@ blockquote { border-left: 1px dashed #CCC; margin: 10px 0 10px 10px; padding-lef .dialogtxt { background: #EEEEE5; padding: 20px; } /********/ -#footer { clear: both; font-size: 10pt; padding: 10px 0; color: #999; width: 1004px; margin: 0 auto; } +#footer { clear: both; font-size: 10pt; padding: 10px 0; color: #999; width: 1004px; margin: 0 auto 20px 0; } #footer-social { float: left; } #footer-social a { display: inline-block; width: 32px; height: 32px; text-indent: 100%; white-space: nowrap; overflow: hidden; border: 0; margin: 0 15px 0 0; } #footer-left { margin-left: 286px; margin-right: 350px; } -- cgit v1.2.3