blob: 48fbf1f9bc4c59ddb5c79d01f9b4f59c0d8e92a5 (
plain) (
tree)
|
|
$(document).ready(function() {
$(document).on('click', '.jot-toggle', function(e) {
$(window).scrollTop(0);
$('#jot-popup').toggle();
$('#profile-jot-text').focus();
});
$(document).on('click', '.notes-toggle', function(e) {
$(window).scrollTop(0);
$('#personal-notes').toggleClass('d-none');
$('#note-text').focus();
});
$(document).on('hz:handleNetworkNotificationsItems', function(e, obj) {
push_notification(
obj.name,
$('<p>' + obj.message + '</p>').text(),
baseurl + '/hq/' + obj.b64mid
);
});
});
|