Browse Source

Petit détail

master
l4p1n 7 months ago
parent
commit
5376e3b357
Signed by: l4p1n <l4p1n@l4p1n.ch> GPG Key ID: 8A2C2F68B58DC35C
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      public/assets/js/server_edit.js
  2. +1
    -1
      templates/guilds/edit.php

+ 3
- 0
public/assets/js/server_edit.js View File

@@ -33,4 +33,7 @@

link_node.addEventListener('click', change_tab);
});

let submit_button = document.querySelector('#submit');
submit_button.addEventListener('click', e => e.target.classList.add('loading'));
})();

+ 1
- 1
templates/guilds/edit.php View File

@@ -194,7 +194,7 @@
</section>

<p class="mt-2">
<input type="submit" class="btn btn-primary" value="Modifier les paramètres">
<button id="submit" type="submit" class="btn btn-primary">Modifier les paramètres</button>
</p>
</form>