From 7b32f9dd52713db280c63d560527fa046ef1cf86 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sat, 20 Dec 2014 13:24:02 +0000 Subject: [PATCH] Updated for Polymer 0.5.2. Removed some sizing update calls that are no longer necessary. --- resources/report/html/loot-plugin-editor.html | 3 --- resources/report/js/script.js | 5 ----- 2 files changed, 8 deletions(-) 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);