mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-07 07:16:53 -06:00
fix weird javascript var vs let ECMA warning
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
$('#psform-ajax').submit(function (e) {
|
$('#psform-ajax').submit(function (e) {
|
||||||
var url = "{{ url_for('profile_settings_submit') }}"; // send the form data here.
|
let url = "{{ url_for('profile_settings_submit') }}"; // send the form data here.
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: url,
|
url: url,
|
||||||
|
|||||||
Reference in New Issue
Block a user