aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_hq.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-17 10:14:23 +0000
committerMario <mario@mariovavti.com>2021-06-17 10:14:23 +0000
commitc268bc327a9c82acf05999039b0b3ab7191646eb (patch)
tree75a14ecfd2a449b6b086e5a9da2111abe6903eba /view/js/mod_hq.js
parente79a27c654589ed2ab3b3f2c1a6b603e2e642ad9 (diff)
downloadvolse-hubzilla-c268bc327a9c82acf05999039b0b3ab7191646eb.tar.gz
volse-hubzilla-c268bc327a9c82acf05999039b0b3ab7191646eb.tar.bz2
volse-hubzilla-c268bc327a9c82acf05999039b0b3ab7191646eb.zip
fix issues with browser back button and minor cleanup
Diffstat (limited to 'view/js/mod_hq.js')
-rw-r--r--view/js/mod_hq.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/view/js/mod_hq.js b/view/js/mod_hq.js
index ddcde4fcd..0a3939913 100644
--- a/view/js/mod_hq.js
+++ b/view/js/mod_hq.js
@@ -1,20 +1,13 @@
$(document).ready(function() {
$(document).on('click', '#jot-toggle', function(e) {
- e.preventDefault();
- e.stopPropagation();
$(window).scrollTop(0);
$('#jot-popup').toggle();
- $('#profile-jot-text').focus();
-
});
$(document).on('click', '#notes-toggle', function(e) {
- e.preventDefault();
- e.stopPropagation();
$(window).scrollTop(0);
$('#personal-notes').toggleClass('d-none');
- $('#note-text').focus();
});
});