Skip to content

Commit

Permalink
slight sleep mode fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dhonus committed Jan 6, 2024
1 parent 7bad8b3 commit 232d7ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions assets/style.sass
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,9 @@ $gallery-gap: 1rem
box-shadow: 0 0 1px $link

input:checked + .slider:before
-webkit-transform: translateX(22px)
-ms-transform: translateX(22px)
transform: translateX(22px)
-webkit-transform: translateX(24px)
-ms-transform: translateX(24px)
transform: translateX(24px)

div#statusDiv
color: #2a2926
Expand Down
2 changes: 1 addition & 1 deletion static/js/screen.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ try {
wakeLock.addEventListener('release', (e) => {
console.log(e);
wakeLockCheckbox.checked = false;
statusDiv.textContent = 'Automatically turned off';
statusDiv.textContent = 'Screen sleep restored';
console.log('Wake Lock was released');
});
wakeLockCheckbox.checked = true;
Expand Down

0 comments on commit 232d7ac

Please sign in to comment.