fix weird javascript var vs let ECMA warning

This commit is contained in:
Xevion
2020-03-08 21:42:38 -05:00
parent 4abe94ba2b
commit 295d99d01c

View File

@@ -5,7 +5,7 @@
<script>
$(document).ready(function () {
$('#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({
type: "POST",
url: url,