mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 11:28:49 +02:00
Made requested changes to domain server settings.js
This commit is contained in:
parent
705ce4c789
commit
1619d877d3
1 changed files with 4 additions and 4 deletions
|
@ -1329,8 +1329,8 @@ function makeTableCategoryInput(setting, numVisibleColumns) {
|
|||
}
|
||||
|
||||
function getDescriptionForKey(key) {
|
||||
for(var i in Settings.data.descriptions) {
|
||||
if(Settings.data.descriptions[i].name === key) {
|
||||
for (var i in Settings.data.descriptions) {
|
||||
if (Settings.data.descriptions[i].name === key) {
|
||||
return Settings.data.descriptions[i];
|
||||
}
|
||||
}
|
||||
|
@ -1372,12 +1372,12 @@ function badgeSidebarForDifferences(changedElement) {
|
|||
badgeValue += 1;
|
||||
|
||||
// add a reason to restart
|
||||
if(description && description.restart != false) {
|
||||
if (description && description.restart != false) {
|
||||
reasonsForRestart.push(setting);
|
||||
}
|
||||
} else {
|
||||
// remove a reason to restart
|
||||
if(description && description.restart != false) {
|
||||
if (description && description.restart != false) {
|
||||
reasonsForRestart = $.grep(reasonsForRestart, function(v) { return v != setting; });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue