aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-07-05 10:42:36 +0200
committerMario Vavti <mario@mariovavti.com>2021-07-05 10:42:36 +0200
commitd45df824edaf6f05ca33df31ece56846809685d0 (patch)
treeecdbdf0098b2143fe3319be80170de1d49075c5c /view/js
parent50ead82bc4a3dc0a3289cbfcf9625dcd5a04da4d (diff)
downloadvolse-hubzilla-d45df824edaf6f05ca33df31ece56846809685d0.tar.gz
volse-hubzilla-d45df824edaf6f05ca33df31ece56846809685d0.tar.bz2
volse-hubzilla-d45df824edaf6f05ca33df31ece56846809685d0.zip
redbasic: close left aside if hq control button is clicked
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_hq.js2
1 files changed, 2 insertions, 0 deletions
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();
});