submit button for settings form

This commit is contained in:
Corban-Lee Jones 2024-07-23 20:55:25 +01:00
parent 44f2fcbb4b
commit c7a6f69679
2 changed files with 9 additions and 2 deletions

View File

@ -11,6 +11,10 @@
$(document).on("selectedServerChange", async function() {
server = getCurrentlyActiveServer();
updateColourInput("defaultEmbedColour", "#" + server.default_embed_colour);
});
updateColourInput("defaultEmbedColour", server.default_embed_colour);
});
$("#serverSettingsForm").on("submit", function(e) {
e.preventDefault();
alert("not implemented");
})

View File

@ -8,5 +8,8 @@
data-defaultcolour="#3498db">
</div>
</div>
<div class="col-12 text-end">
<button type="submit" id="saveSettings" class="btn btn-primary rounded-1">Save Changes</button>
</div>
</div>
</form>