mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 01:49:15 +00:00
Fix broken reinstall button on app page
This commit is contained in:
parent
0fb6990d2d
commit
57e14b3e4e
|
@ -4,8 +4,6 @@
|
||||||
{% include 'includes/head.html' %}
|
{% include 'includes/head.html' %}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
|
||||||
|
|
||||||
function upgrade(name, short_name) {
|
function upgrade(name, short_name) {
|
||||||
if ( confirm("Are you sure you want to upgrade "+name+"? This will reboot your device.") ) {
|
if ( confirm("Are you sure you want to upgrade "+name+"? This will reboot your device.") ) {
|
||||||
window.location.href='/settings/reinstall-app?app='+short_name;
|
window.location.href='/settings/reinstall-app?app='+short_name;
|
||||||
|
@ -24,6 +22,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
// TODO
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user