aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_cloud.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-07-15 17:50:02 +0000
committerMario <mario@mariovavti.com>2022-07-15 17:50:02 +0000
commitd6a9a9927c23e8b4307dc2164407481f8c542682 (patch)
treedf67d55b5e19b884c02d92e014cfd5c4e24406ad /view/js/mod_cloud.js
parent40b46368584036ede12fbc94619497bba73b6095 (diff)
downloadvolse-hubzilla-d6a9a9927c23e8b4307dc2164407481f8c542682.tar.gz
volse-hubzilla-d6a9a9927c23e8b4307dc2164407481f8c542682.tar.bz2
volse-hubzilla-d6a9a9927c23e8b4307dc2164407481f8c542682.zip
HQ dashboard - initial checkin
Diffstat (limited to 'view/js/mod_cloud.js')
-rw-r--r--view/js/mod_cloud.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/js/mod_cloud.js b/view/js/mod_cloud.js
index 1f444e4fe..7f9cb4fd1 100644
--- a/view/js/mod_cloud.js
+++ b/view/js/mod_cloud.js
@@ -14,6 +14,11 @@ $(document).ready(function () {
// Per File Tools
+ // highlight and scroll into view if we got an id via hash
+ if(window.location.hash) {
+ $('#cloud-index-' + window.location.hash.substr(1)).addClass('cloud-index-active').get(0).scrollIntoView({block: 'center'});
+ }
+
$('.cloud-tool-info-btn').on('click', function (e) {
e.preventDefault();
let id = $(this).data('id');