Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
samolukadjo authored Aug 31, 2024
1 parent 6806ed1 commit a5c51ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const version = 15;
const version = 16;
navigator.serviceWorker && navigator.serviceWorker.register('/sw.js?ver=' + version).then(function (registration) {
console.log('Service worker registered with scope:', registration.scope);
});
Expand Down Expand Up @@ -101,7 +101,7 @@ Window.onload = function size() {
window.resizeTo(700, window.screen.availHeight / 2);
}

function appendDisplay(char) {
function appendDisplay(char)actions {
if (char == "Del") {
display.textContent = display.textContent.slice(0, -1);
} else {
Expand Down

0 comments on commit a5c51ad

Please sign in to comment.