fix(journals): add type='button' to prevent form submission and migrate to V3 Action API for file downloads
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
</a>
|
||||
<!-- <a href="/about" class="btn btn-sm">About</a> -->
|
||||
<!-- <a href="/settings" class="btn btn-sm">Settings</a> -->
|
||||
<button
|
||||
<button type="button"
|
||||
onclick={() => {
|
||||
if ($ae_loc.edit_mode) {
|
||||
// Confirm before clearing
|
||||
@@ -249,8 +249,7 @@
|
||||
"
|
||||
>
|
||||
<!-- Scroll to top button -->
|
||||
<button
|
||||
type="button"
|
||||
<button type="button"
|
||||
class="
|
||||
ae_btn_success_outlined
|
||||
|
||||
@@ -291,9 +290,8 @@
|
||||
|
||||
<!-- Scroll to the right button -->
|
||||
<!-- Temporarily hidden until I figure out a better way to do this -->
|
||||
<button
|
||||
<button type="button"
|
||||
class:hidden={1 == 1}
|
||||
type="button"
|
||||
class="
|
||||
ae_btn_success_outlined
|
||||
|
||||
@@ -320,8 +318,7 @@
|
||||
</button>
|
||||
|
||||
<!-- Scroll to bottom button -->
|
||||
<button
|
||||
type="button"
|
||||
<button type="button"
|
||||
class="
|
||||
ae_btn_success_outlined
|
||||
|
||||
|
||||
Reference in New Issue
Block a user