January 2024
// find the parent tr element of any td with the word Bugfix in it document.addEventListener(“DOMContentLoaded”, function(){ let tableElement = setUpShowMoreButton(); // create top bar, if there are bug fixes if (tableElement != ”) { let buttonDiv = document.createElement(‘div’); buttonDiv.setAttribute(‘class’, ‘topNewsBar’); buttonDiv.innerHTML = ‘Show More’; tableElement.prepend(buttonDiv); } }); function setUpShowMoreButton() { let hideBugfixFlag = false; […]
