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> <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,