mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +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'
|
||||
}).done(function(data){
|
||||
if (data.status == "success") {
|
||||
if ($(".save-button").html() === SAVE_BUTTON_LABEL_RESTART) {
|
||||
if ($(".save-button-text").html() === SAVE_BUTTON_LABEL_RESTART) {
|
||||
showRestartModal();
|
||||
} else {
|
||||
location.reload(true);
|
||||
|
|
Loading…
Reference in a new issue