Accidentally removed modal restart button in settings

This commit is contained in:
JonnyWong16 2016-04-27 20:29:19 -07:00
commit be7fbdf5d8
2 changed files with 12 additions and 2 deletions

View file

@ -269,7 +269,10 @@ ${next.headerIncludes()}
});
$("#nav-restart").click(function () {
window.location.href = "restart";
var r = confirm("Are you sure you want to restart PlexPy?");
if (r == true) {
window.location.href = "restart";
}
});
$("#nav-update").first().one("click", function () {