Fix broken reinstall button on app page

This commit is contained in:
Taylor Helsper 2021-04-14 19:40:28 -05:00
parent 0fb6990d2d
commit 57e14b3e4e

View File

@ -4,8 +4,6 @@
{% include 'includes/head.html' %}
<script>
$(document).ready(function() {
function upgrade(name, short_name) {
if ( confirm("Are you sure you want to upgrade "+name+"? This will reboot your device.") ) {
window.location.href='/settings/reinstall-app?app='+short_name;
@ -24,6 +22,8 @@
}
}
$(document).ready(function() {
// TODO
});
</script>
</head>