aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/slackr/theme.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-23 18:20:24 -0700
committerfriendica <info@friendica.com>2012-05-23 18:20:24 -0700
commit6c78d42050062b74fe38ca487a0cf237b6735e1b (patch)
tree01de81914e4ee53c993af74078b526575ed2e170 /view/theme/slackr/theme.php
parent5d06e0060d2bdff777d357e9bc22cd58f01aba53 (diff)
downloadvolse-hubzilla-6c78d42050062b74fe38ca487a0cf237b6735e1b.tar.gz
volse-hubzilla-6c78d42050062b74fe38ca487a0cf237b6735e1b.tar.bz2
volse-hubzilla-6c78d42050062b74fe38ca487a0cf237b6735e1b.zip
slackr: hide calendar when posting
Diffstat (limited to 'view/theme/slackr/theme.php')
-rw-r--r--view/theme/slackr/theme.php8
1 files changed, 8 insertions, 0 deletions
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(); });