From: friendica Date: Thu, 24 May 2012 01:20:24 +0000 (-0700) Subject: slackr: hide calendar when posting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6c78d42050062b74fe38ca487a0cf237b6735e1b;hp=5d06e0060d2bdff777d357e9bc22cd58f01aba53;p=friendica.git slackr: hide calendar when posting --- diff --git a/view/theme/slackr/theme.php b/view/theme/slackr/theme.php index 516132f5c7..9887008606 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(); });