mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:21:24 +02:00
check correct element to determine if restart is required
This commit is contained in:
parent
09c2390db4
commit
9f2015ba46
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ function postSettings(jsonSettings) {
|
||||||
type: 'POST'
|
type: 'POST'
|
||||||
}).done(function(data){
|
}).done(function(data){
|
||||||
if (data.status == "success") {
|
if (data.status == "success") {
|
||||||
if ($(".save-button").html() === SAVE_BUTTON_LABEL_RESTART) {
|
if ($(".save-button-text").html() === SAVE_BUTTON_LABEL_RESTART) {
|
||||||
showRestartModal();
|
showRestartModal();
|
||||||
} else {
|
} else {
|
||||||
location.reload(true);
|
location.reload(true);
|
||||||
|
|
Loading…
Reference in a new issue