merge module uis

This commit is contained in:
Peter 2022-11-27 17:05:47 -05:00
parent 112e78f40a
commit a6a8acbd1e
9 changed files with 331 additions and 377 deletions

View file

@ -370,8 +370,8 @@ function editRegiment(selector) {
military.splice(regIndex, 1);
const index = notes.findIndex(n => n.id === elSelected.id);
if (index != -1) notes.splice(index, 1);
elSelected.remove();
if (index != -1) notes.splice(index, 1);
elSelected.remove();
if (militaryOverviewRefresh.offsetParent) militaryOverviewRefresh.click();
if (regimentsOverviewRefresh.offsetParent) regimentsOverviewRefresh.click();