5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 00:10:47 +08:00

fix vanilla template for windows

This commit is contained in:
Lea Anthony 2020-09-07 20:45:20 +10:00
parent 214fcf03b9
commit 1e1834158b
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ body {
display: block;
width:100%;
text-align: center;
margin-top: 3rem;
margin-top: 1rem;
font-size: 2rem;
}
@ -24,7 +24,7 @@ button {
}
.result {
margin-top: 3rem;
margin-top: 1rem;
text-align: center;
font-size: 2rem;
}

View File

@ -36,7 +36,7 @@ function start() {
mystore.set(newValue);
};
mystore.subscribe( (state) => {
mystore.subscribe( function(state) {
document.getElementById('counter').innerText = state;
});