check correct element to determine if restart is required

This commit is contained in:
Stephen Birarda 2018-02-05 16:58:18 -08:00
parent 09c2390db4
commit 9f2015ba46

View file

@ -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);