Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-05-20 12:56:42 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-05-20 12:56:42 -0700
commit1818218abb9451a96ad779ecba875d01878d77ef (patch)
tree633ef981c764622819032d0dc84328ea78cb5bbe /src/index.js
parent4d133b7181241adca3867afae721eb0962e4e645 (diff)
WIP: record sheet layout
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/index.js b/src/index.js
index c71cc16..96b138f 100644
--- a/src/index.js
+++ b/src/index.js
@@ -15,15 +15,15 @@ const mapPlaceholder = document.querySelector('.map-placeholder'),
fileInputEl = document.querySelector('input[type="file"]'),
toggleContentVis = (function () {
- document.querySelectorAll('#content div').forEach(div => {
- if (this.checked) {
- div.style.display = div.id == 'record-sheet' ? 'flex' : 'block';
- } else {
- div.style.display = 'none';
- }
- });
-
- localStorage.setItem('content-visibility', this.checked);
+ // document.querySelectorAll('#content div').forEach(div => {
+ // if (this.checked) {
+ // div.style.display = div.id == 'record-sheet' ? 'flex' : 'block';
+ // } else {
+ // div.style.display = 'none';
+ // }
+ // });
+
+ // localStorage.setItem('content-visibility', this.checked);
}).bind(contentVisToggleEl);
let mapResourceEl = document.querySelector('object');