aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic
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/theme/redbasic
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/theme/redbasic')
-rw-r--r--view/theme/redbasic/js/redbasic.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 05f590c53..a354682d7 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -108,6 +108,10 @@ $(document).ready(function() {
}
});
+ $(document).on('hz:hqControlsClickAction', function(e) {
+ toggleAside('left');
+ });
+
});
function setStyle(element, cssProperty) {