mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Accidentally removed modal restart button in settings
This commit is contained in:
parent
fc21f043ae
commit
be7fbdf5d8
2 changed files with 12 additions and 2 deletions
|
@ -2052,7 +2052,10 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
$("#menu_link_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";
|
||||
}
|
||||
});
|
||||
|
||||
$("#menu_link_update_check").click(function() {
|
||||
|
@ -2063,6 +2066,10 @@ $(document).ready(function() {
|
|||
window.location.href = "checkGithub";
|
||||
});
|
||||
|
||||
$("#modal_link_restart").click(function() {
|
||||
window.location.href = "restart";
|
||||
});
|
||||
|
||||
if ($("#api_enabled").is(":checked")) {
|
||||
$("#apioptions").show();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue