Skip to content

Commit

Permalink
Refactor HTML structure by removing unnecessary class from <html> tag…
Browse files Browse the repository at this point in the history
… and update comments for clarity
  • Loading branch information
EliasDeHondt committed Jan 13, 2025
1 parent 6bac132 commit 551e8d5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion App/Frontend/js/context-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function toggleTheme() {

}

// Instellen bij pagina laden
// Set on page load
document.addEventListener('DOMContentLoaded', () => {
const savedTheme = localStorage.getItem('theme') || 'light';
document.documentElement.setAttribute('data-theme', savedTheme);
Expand Down
2 changes: 1 addition & 1 deletion App/Frontend/pages/dashboard.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--Author K10s Open Source Team-->
<html class="global-html" lang="en">
<html lang="en">
<head>
<!--Meta + Title-->
<meta charset="utf-8">
Expand Down
2 changes: 1 addition & 1 deletion App/Frontend/pages/login.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--Author K10s Open Source Team-->
<html class="global-html" lang="en">
<html lang="en">
<head>
<!--Meta + Title-->
<meta charset="utf-8">
Expand Down
2 changes: 1 addition & 1 deletion App/Frontend/pages/search.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--Author K10s Open Source Team-->
<html class="global-html" lang="en">
<html lang="en">
<head>
<!--Meta + Title-->
<meta charset="utf-8">
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--Author K10s Open Source Team-->
<html class="global-html" lang="en">
<html lang="en">
<head>
<!--Meta + Title-->
<meta charset="utf-8">
Expand Down

0 comments on commit 551e8d5

Please sign in to comment.