aboutsummaryrefslogblamecommitdiffstats
path: root/view/js/mod_hq.js
blob: 7583a4ddd7b7d4c4b151a99f572e8a1253c6bf8c (plain) (tree)
1
2
3
4
5
6
7
8
9

                              
                                                            

                                         
                                               

           
                                                              

                                                           
                                        
           
 


                                                                               
   
$(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.message, obj.name);
	});
});