Skip to content

Commit 0874e2f

Browse files
authored
Merge pull request #428 from AbraxasContact/feature-branch
refactor: remove unused JS state variables (sidebarOpen, currentFontS…
2 parents 7680a41 + 50ce59b commit 0874e2f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

index.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21810,10 +21810,6 @@ <h2>Download Other Formats</h2>
2181021810
</button>
2181121811

2181221812
<script>
21813-
// State management
21814-
let sidebarOpen = window.innerWidth > 1024;
21815-
let currentFontSize = 'medium';
21816-
2181721813
// Initialize
2181821814
document.addEventListener('DOMContentLoaded', function() {
2181921815
initializeApp();
@@ -21889,7 +21885,6 @@ <h2>Download Other Formats</h2>
2188921885

2189021886
sidebar.classList.toggle('open');
2189121887
mainContent.classList.toggle('sidebar-open');
21892-
sidebarOpen = sidebar.classList.contains('open');
2189321888
}
2189421889

2189521890
// Reading progress
@@ -21942,7 +21937,6 @@ <h2>Download Other Formats</h2>
2194221937
const body = document.body;
2194321938
body.classList.remove('font-small', 'font-medium', 'font-large');
2194421939
body.classList.add('font-' + size);
21945-
currentFontSize = size;
2194621940

2194721941
// Update button states
2194821942
document.querySelectorAll('.font-size-btn').forEach(btn => {

0 commit comments

Comments
 (0)