This commit is contained in:
Klemek
2023-08-29 16:44:28 +02:00
parent cabb46d33c
commit e0fe2f1cff
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -61,15 +61,13 @@ let app = {
showConfig: true,
q2a: true,
a2q: false,
size: 0,
};
},
computed: {
currentYear() {
return new Date().getFullYear();
},
urlLength() {
return window.location.toString().length;
},
},
methods: {
showApp() {
@@ -129,6 +127,7 @@ let app = {
this.showConfig = false;
this.reset();
}
this.size = url.href.length;
},
updated() {
const data = utils.serialize(this.available);
@@ -137,6 +136,7 @@ let app = {
url.searchParams.set('d', data);
window.history.pushState({}, '', url);
}
this.size = url.href.length;
},
mounted: function () {
setTimeout(this.showApp);