slackr: hide calendar when posting

This commit is contained in:
friendica 2012-05-23 18:20:24 -07:00
parent 5d06e0060d
commit 6c78d42050

View file

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