Добавил реакцию на клик по ссылке "Помочь проекту"

This commit is contained in:
Book Pauk
2019-02-10 21:20:26 +07:00
parent 4be1b3bcee
commit 007e3504f9
3 changed files with 16 additions and 1 deletions

View File

@@ -57,6 +57,7 @@
@stop-scrolling="stopScrolling"
@scrolling-toggle="scrollingToggle"
@help-toggle="helpToggle"
@donate-toggle="donateToggle"
></component>
</keep-alive>
@@ -425,6 +426,15 @@ class Reader extends Vue {
}
}
donateToggle() {
this.helpToggle();
if (this.helpActive) {
this.$nextTick(() => {
this.$refs.helpPage.activateDonateHelpPage();
});
}
}
buttonClick(button) {
switch (button) {
case 'loader':