@@ -516,6 +515,7 @@
darkMode: false,
showImprint: false,
step: 1,
+ stepCount: 0,
stepMsg: '',
stepMsgType: '',
working: false,
@@ -534,7 +534,6 @@
editingContactData: { email: '', phone: '' },
committed: '[[${committed}]]',
shareMsg: '',
- easterEgg: 0,
init() {
const isDarkApplied = document.documentElement.getAttribute('data-bs-theme') === 'dark';
@@ -804,14 +803,14 @@
async submitCommit(committed) {
if (committed == this.committed) {
- this.easterEgg += 1;
- if (this.easterEgg >= 10) {
+ this.stepCount += 1;
+ if (this.stepCount >= 10) {
this.stepMsg = 'Ja, nee is klar!';
this.stepMsgType = 'warning';
}
return;
}
- this.easterEgg = 0;
+ this.stepCount = 0;
this.stepMsg = '';
this.working = true;
this.committed = committed;