diff options
author | Mario <mario@mariovavti.com> | 2022-07-15 17:50:02 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-07-15 17:50:02 +0000 |
commit | d6a9a9927c23e8b4307dc2164407481f8c542682 (patch) | |
tree | df67d55b5e19b884c02d92e014cfd5c4e24406ad /view/js/mod_cloud.js | |
parent | 40b46368584036ede12fbc94619497bba73b6095 (diff) | |
download | volse-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.js | 5 |
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'); |