Loading src/settings-theming.js +5 −4 Original line number Diff line number Diff line document.addEventListener('DOMContentLoaded', function() { class ListNode { constructor(data) { this.data = data Loading @@ -12,8 +13,8 @@ document.addEventListener('DOMContentLoaded', function() { const content = contents[index] const contentHeaderText = content.firstChild.innerHTML if (contentHeaderText.includes('Keyboard shortcuts') || contentHeaderText.includes('Navigation bar settings')) { const tempHead = head let node = new ListNode(content) const node = new ListNode(content) if (head == null) { head = node } else { Loading @@ -24,7 +25,7 @@ document.addEventListener('DOMContentLoaded', function() { } while (head != null) { let node = head const node = head head = node.next node.data.remove() } Loading Loading
src/settings-theming.js +5 −4 Original line number Diff line number Diff line document.addEventListener('DOMContentLoaded', function() { class ListNode { constructor(data) { this.data = data Loading @@ -12,8 +13,8 @@ document.addEventListener('DOMContentLoaded', function() { const content = contents[index] const contentHeaderText = content.firstChild.innerHTML if (contentHeaderText.includes('Keyboard shortcuts') || contentHeaderText.includes('Navigation bar settings')) { const tempHead = head let node = new ListNode(content) const node = new ListNode(content) if (head == null) { head = node } else { Loading @@ -24,7 +25,7 @@ document.addEventListener('DOMContentLoaded', function() { } while (head != null) { let node = head const node = head head = node.next node.data.remove() } Loading