From 6c78d42050062b74fe38ca487a0cf237b6735e1b Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 23 May 2012 18:20:24 -0700 Subject: [PATCH] slackr: hide calendar when posting --- view/theme/slackr/theme.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/view/theme/slackr/theme.php b/view/theme/slackr/theme.php index 516132f5c..988700860 100644 --- a/view/theme/slackr/theme.php +++ b/view/theme/slackr/theme.php @@ -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(); });