diff --git a/resources/report/html/loot-plugin-editor.html b/resources/report/html/loot-plugin-editor.html index 52bd2a4e..828e160b 100644 --- a/resources/report/html/loot-plugin-editor.html +++ b/resources/report/html/loot-plugin-editor.html @@ -544,9 +544,6 @@ loot-editor-close this.shadowRoot.getElementById('loadsBSA').setPosition(); this.shadowRoot.getElementById('globalPriority').parentElement.setPosition(); - /* Update tab bar position. */ - this.shadowRoot.getElementById('tableTabs').updateBar(); - /* Also make sure right arrow is visible. */ this.shadowRoot.getElementById('tableTabs').shadowRoot.querySelector('.scroll-button:last-child').firstElementChild.classList.remove('hidden'); }, diff --git a/resources/report/js/script.js b/resources/report/js/script.js index e68ee296..d398c3a4 100644 --- a/resources/report/js/script.js +++ b/resources/report/js/script.js @@ -473,10 +473,6 @@ function changeGame(evt) { /* Now update virtual lists. */ setFilteredUIData(); - - /* Update the list sizes to take into account data changes. */ - document.getElementById('cardsNav').lastElementChild.updateSize(); - document.getElementById('main').lastElementChild.updateSize(); } catch (e) { console.log(e); console.log('changeGame response: ' + result); @@ -1162,7 +1158,6 @@ function initVars() { document.getElementById('main').lastElementChild.data = loot.game.plugins; setTimeout(function() { - document.getElementById('cardsNav').lastElementChild.updateSize(); closeProgressDialog(); }, 100);