diff --git a/Web/Presenters/templates/User/View.xml b/Web/Presenters/templates/User/View.xml
index f3eca4ce..10801053 100644
--- a/Web/Presenters/templates/User/View.xml
+++ b/Web/Presenters/templates/User/View.xml
@@ -132,7 +132,7 @@
{/if}
{_send_gift}
- {_send_message}
+ {_send_message}
{var $subStatus = $user->getSubscriptionStatus($thisUser)}
{if $subStatus === 0}
diff --git a/Web/static/js/router.js b/Web/static/js/router.js
index 44c317b5..3be9b7e1 100644
--- a/Web/static/js/router.js
+++ b/Web/static/js/router.js
@@ -152,7 +152,7 @@ window.router = new class {
return false
}
- if(!url || url == '' || url == '/') {
+ if(!url || url == '') {
return false
}
@@ -275,6 +275,11 @@ u(document).on('click', 'a', async (e) => {
return
}
+ // temporary fix
+ if(dom_url == '/') {
+ url = url + 'id0'
+ }
+
e.preventDefault()
console.log(`AJAX | Going to URL ${url}`)
diff --git a/Web/static/js/utils.js b/Web/static/js/utils.js
index 95c25fe3..56614757 100644
--- a/Web/static/js/utils.js
+++ b/Web/static/js/utils.js
@@ -229,6 +229,11 @@ function serializeForm(form, submitter = null)
}
}
break
+ case 'radio':
+ if(inp.checked) {
+ fd.append(inp.name, inp.value)
+ }
+ break
}
})