Skip to content

Commit

Permalink
Don't post on click Cancel for settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Feb 20, 2025
1 parent 87b6dbb commit fb6e746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lute/templates/settings/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ <h2>Japanese</h2>

<div style="margin-top:40px;">
<button type="submit" class="btn btn-primary">Save</button>
<button class="btn" onclick="window.location = '/'">Cancel</button>
<button class="btn" onclick="window.location = '/'; return false;">Cancel</button>
</div>
</form>

Expand Down

0 comments on commit fb6e746

Please sign in to comment.