From d45df824edaf6f05ca33df31ece56846809685d0 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 5 Jul 2021 10:42:36 +0200 Subject: redbasic: close left aside if hq control button is clicked --- view/js/mod_hq.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view/js') diff --git a/view/js/mod_hq.js b/view/js/mod_hq.js index 48fbf1f9b..ad77e0af0 100644 --- a/view/js/mod_hq.js +++ b/view/js/mod_hq.js @@ -2,12 +2,14 @@ $(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(); }); -- cgit v1.2.3