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

                              
                                                            
                                       
                                                                
                                         
                                               

           
                                                              
                                       
                                                                
                                                           
                                        
           

   
$(document).ready(function() {

	$(document).on('click', '.jot-toggle', function(e) {
		$(window).scrollTop(0);
		$(document).trigger('hz:hqControlsClickAction');
		$('#jot-popup').toggle();
		$('#profile-jot-text').focus();
	});

	$(document).on('click', '.notes-toggle', function(e) {
		$(window).scrollTop(0);
		$(document).trigger('hz:hqControlsClickAction');
		$('#personal-notes').toggleClass('d-none');
		$('#note-text').focus();
	});

});