diff --git a/resources/report/html/loot-plugin-editor.html b/resources/report/html/loot-plugin-editor.html
index 3887b11f..70da6d64 100644
--- a/resources/report/html/loot-plugin-editor.html
+++ b/resources/report/html/loot-plugin-editor.html
@@ -527,8 +527,8 @@ loot-editor-close
this.shadowRoot.getElementById('loadsBSA').setPosition();
this.shadowRoot.getElementById('globalPriority').parentElement.setPosition();
- /* Also make sure right arrow is visible. */
- this.shadowRoot.getElementById('tableTabs').shadowRoot.querySelector('.scroll-button:last-child').firstElementChild.classList.remove('hidden');
+ /* Also make sure right arrow is visible if the tabs are scrollable. */
+ this.shadowRoot.getElementById('tableTabs').scroll();
},
});