]> git.mxchange.org Git - friendica.git/commitdiff
slackr: hide calendar when posting
authorfriendica <info@friendica.com>
Thu, 24 May 2012 01:20:24 +0000 (18:20 -0700)
committerfriendica <info@friendica.com>
Thu, 24 May 2012 01:20:24 +0000 (18:20 -0700)
view/theme/slackr/theme.php

index 516132f5c7fdb74e10d97e792fa4e84cddbc77fa..9887008606dcd7603d0079a41f3106ed4f40bf1c 100644 (file)
@@ -43,8 +43,16 @@ function cmtBbOpen(id) {
 function cmtBbClose(id) {
        $(".comment-edit-bb-" + id).hide();
 }
+
+function hidecal() {
+       if(editor) return;
+       $('.fc').hide();
+}
+
 $(document).ready(function() {
 
+       $("#profile-jot-text").focus(hidecal);
+       $("#profile-jot-text").click(hidecal);
 
 $('html').click(function() { $("#nav-notifications-menu" ).hide(); });