diff --git a/src/gui/multipleInspect.js b/src/gui/multipleInspect.js index d2b416661c67c38ced347a3c16f9b899069d3fee..17be844d38a29113afec305b4be5cfdadab87d21 100644 --- a/src/gui/multipleInspect.js +++ b/src/gui/multipleInspect.js @@ -9,10 +9,10 @@ App.UI.MultipleInspect = (function() { */ function MultipleInspectDOM(slaves, showFamilyTree, market) { const frag = document.createDocumentFragment(); - const tabbar = App.UI.DOM.appendNewElement("div", frag, "", "tab-bar"); + const tabBar = App.UI.DOM.appendNewElement("div", frag, "", "tab-bar"); for (const slave of slaves) { - tabbar.append(App.UI.tabBar.tabButtonDOM(`slave${slave.ID}`, slave.slaveName)); + tabBar.append(App.UI.tabBar.tabButtonDOM(`slave${slave.ID}`, slave.slaveName)); frag.append(App.UI.tabBar.makeTabDOM(`slave${slave.ID}`, App.Desc.longSlave(slave, {market: market}))); } @@ -21,7 +21,7 @@ App.UI.MultipleInspect = (function() { button.addEventListener('click', event => { renderFamilyTree(slaves, slaves[0].ID); }); - tabbar.append(button); + tabBar.append(button); const ftTarget = document.createElement("div"); ftTarget.setAttribute("id", "familyTree"); frag.append(App.UI.tabBar.makeTabDOM(`familyTreeTab`, ftTarget)); diff --git a/src/js/slaveListing.js b/src/js/slaveListing.js index e523ff4c97d0e1ebdb87a6a45249928a60644cde..fa2a6c369e480d6c153462a7cd97b98c3488d20c 100644 --- a/src/js/slaveListing.js +++ b/src/js/slaveListing.js @@ -622,8 +622,8 @@ App.UI.SlaveList.listSJFacilitySlaves = function(facility, facilityPassage, show if (V.sortSlavesMain) { frag.append(this.sortingLinks(facilityPassage)); } - const tabbar = App.UI.DOM.appendNewElement("div", frag, '', "tab-bar"); - tabbar.append( + const tabBar = App.UI.DOM.appendNewElement("div", frag, '', "tab-bar"); + tabBar.append( App.UI.tabBar.tabButtonDOM('assign', tabCaptions.assign), App.UI.tabBar.tabButtonDOM('remove', tabCaptions.remove), (showTransfersTab ? App.UI.tabBar.tabButtonDOM('transfer', tabCaptions.transfer) : '') @@ -710,8 +710,8 @@ App.UI.SlaveList.listNGPSlaves = function() { const frag = document.createDocumentFragment(); frag.append(this.sortingLinks(thisPassage)); - const tabbar = App.UI.DOM.appendNewElement("div", frag, '', "tab-bar"); - tabbar.append( + const tabBar = App.UI.DOM.appendNewElement("div", frag, '', "tab-bar"); + tabBar.append( App.UI.tabBar.tabButtonDOM('assign', "Import a slave"), App.UI.tabBar.tabButtonDOM('remove', "Remove from import") );