mirror of
https://github.com/eugene-serb/wavelovers.git
synced 2023-09-09 23:41:16 +03:00
Updated change method
This commit is contained in:
parent
96d192cbfe
commit
15fd2d5b5d
@ -15,4 +15,4 @@
|
|||||||
webvisor: true
|
webvisor: true
|
||||||
});</script><style>[v-cloak] {
|
});</script><style>[v-cloak] {
|
||||||
display: none;
|
display: none;
|
||||||
}</style><script defer="defer" src="/js/chunk-vendors.5d0a04f4.js"></script><script defer="defer" src="/js/app.b405c25e.js"></script><link href="/css/app.a72a8a93.css" rel="stylesheet"></head><body><header class="header"><div class="header-wrapper container"><div class="logo-wrapper"><span class="logo-wrapper__logo" translate="no">Wavelovers</span></div><nav class="menu-wrapper"><ul class="navigation"><li class="navigation__item"><a href="/" target="_self" class="navigation__link">Home</a></li><li class="navigation__item"><a href="/faq.html" target="_self" class="navigation__link">FAQ</a></li><li class="navigation__item"><a href="/about.html" target="_self" class="navigation__link">About</a></li><li class="navigation__item"><a href="/donate.html" target="_self" class="navigation__link">Donate</a></li></ul></nav></div></header><main class="page container"><h1 class="visually-hidden">Wavelovers</h1><div id="app" v-cloak></div></main><footer class="footer"><div class="footer-wrapper container"><div class="annotation"><span class="annotation__text">© 2022 Wavelovers. Content licensed under </span><a href="https://wavelovers.ru/LICENSE.md" target="_blank">GNU General Public License v3.0</a><br><span class="annotation__text">This site is open source. </span><a href="https://github.com/eugene-serb/wavelovers/" target="_blank">Improve this page.</a></div><div class="annotation created-by"><span class="annotation__text">Created by</span><a href="https://eugene-serb.github.io/" target="_blank" translate="no">Eugene Serb</a></div></div></footer><noscript>You need to enable JavaScript to run this app.</noscript><noscript><div><img src="https://mc.yandex.ru/watch/89252711" style="position:absolute; left:-9999px;" alt=""/></div></noscript></body></html>
|
}</style><script defer="defer" src="/js/chunk-vendors.5d0a04f4.js"></script><script defer="defer" src="/js/app.621e321e.js"></script><link href="/css/app.a72a8a93.css" rel="stylesheet"></head><body><header class="header"><div class="header-wrapper container"><div class="logo-wrapper"><span class="logo-wrapper__logo" translate="no">Wavelovers</span></div><nav class="menu-wrapper"><ul class="navigation"><li class="navigation__item"><a href="/" target="_self" class="navigation__link">Home</a></li><li class="navigation__item"><a href="/faq.html" target="_self" class="navigation__link">FAQ</a></li><li class="navigation__item"><a href="/about.html" target="_self" class="navigation__link">About</a></li><li class="navigation__item"><a href="/donate.html" target="_self" class="navigation__link">Donate</a></li></ul></nav></div></header><main class="page container"><h1 class="visually-hidden">Wavelovers</h1><div id="app" v-cloak></div></main><footer class="footer"><div class="footer-wrapper container"><div class="annotation"><span class="annotation__text">© 2022 Wavelovers. Content licensed under </span><a href="https://wavelovers.ru/LICENSE.md" target="_blank">GNU General Public License v3.0</a><br><span class="annotation__text">This site is open source. </span><a href="https://github.com/eugene-serb/wavelovers/" target="_blank">Improve this page.</a></div><div class="annotation created-by"><span class="annotation__text">Created by</span><a href="https://eugene-serb.github.io/" target="_blank" translate="no">Eugene Serb</a></div></div></footer><noscript>You need to enable JavaScript to run this app.</noscript><noscript><div><img src="https://mc.yandex.ru/watch/89252711" style="position:absolute; left:-9999px;" alt=""/></div></noscript></body></html>
|
File diff suppressed because one or more lines are too long
1
docs/js/app.621e321e.js.map
Normal file
1
docs/js/app.621e321e.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -75,7 +75,6 @@
|
|||||||
change(index: number): void {
|
change(index: number): void {
|
||||||
if (this.mode === index) {
|
if (this.mode === index) {
|
||||||
this.isActive = !this.isActive;
|
this.isActive = !this.isActive;
|
||||||
this.reset();
|
|
||||||
} else {
|
} else {
|
||||||
this.isActive = true;
|
this.isActive = true;
|
||||||
this.mode = index;
|
this.mode = index;
|
||||||
@ -83,6 +82,8 @@
|
|||||||
if (this.isActive === true) {
|
if (this.isActive === true) {
|
||||||
this.reset();
|
this.reset();
|
||||||
this.vibrate();
|
this.vibrate();
|
||||||
|
} else {
|
||||||
|
this.reset();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
vibrate(): void {
|
vibrate(): void {
|
||||||
|
Loading…
Reference in New Issue
Block a user