aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-05-12 10:32:08 -0500
committerFrederick Muriuki Muriithi2025-05-12 10:32:08 -0500
commit38732008ae3d6588291166bcfe706df8f00bb921 (patch)
treea91d96008ddb36845d64b56ba2eaf6123d2dd305
parent2fc270fa9bcde1e74730652b7dedef44d98f15e0 (diff)
downloadgn-uploader-38732008ae3d6588291166bcfe706df8f00bb921.tar.gz
BugFix: Don't scroll to top of page on clicking "Browse" buttons.
This fixes the behaviour where clicking the "Browse" buttons on any of the resumable elements, the viewport would scroll to the top of the page.
-rw-r--r--uploader/templates/phenotypes/macro-display-resumable-elements.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/templates/phenotypes/macro-display-resumable-elements.html b/uploader/templates/phenotypes/macro-display-resumable-elements.html
index 7cf3a87..ed14ea5 100644
--- a/uploader/templates/phenotypes/macro-display-resumable-elements.html
+++ b/uploader/templates/phenotypes/macro-display-resumable-elements.html
@@ -33,7 +33,7 @@
<a id="{{id}}-browse-button"
class="resumable-browse-button btn btn-info"
- href="#"
+ href="#{{id}}"
style="margin-left: 80%;">Browse</a>
<div id="{{id}}-progress-bar" class="progress visually-hidden">