aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_hq.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/mod_hq.js')
-rw-r--r--view/js/mod_hq.js17
1 files changed, 10 insertions, 7 deletions
diff --git a/view/js/mod_hq.js b/view/js/mod_hq.js
index b321382bd..0a3939913 100644
--- a/view/js/mod_hq.js
+++ b/view/js/mod_hq.js
@@ -1,10 +1,13 @@
-$(document).on('click', '#jot-toggle', function(e) {
- e.preventDefault();
- e.stopPropagation();
+$(document).ready(function() {
- $(this).toggleClass('active');
- $(window).scrollTop(0);
- $('#jot-popup').toggle();
- $('#profile-jot-text').focus();
+ $(document).on('click', '#jot-toggle', function(e) {
+ $(window).scrollTop(0);
+ $('#jot-popup').toggle();
+ });
+
+ $(document).on('click', '#notes-toggle', function(e) {
+ $(window).scrollTop(0);
+ $('#personal-notes').toggleClass('d-none');
+ });
});