Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5865eacb authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

fix: lint

parent db71e22e
Loading
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
document.addEventListener('DOMContentLoaded', function() {

	class ListNode {
		constructor(data) {
			this.data = data
@@ -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 {
@@ -24,7 +25,7 @@ document.addEventListener('DOMContentLoaded', function() {
	}

	while (head != null) {
		let node = head
		const node = head
		head = node.next
		node.data.remove()
	}