1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-25 22:20:46 +02:00

Fix navigation previous link

This commit is contained in:
Luis
2017-04-08 14:01:40 +02:00
parent a49568a6b0
commit 89e8ffdd78
3 changed files with 3 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ export default class Navigation {
event.preventDefault();
if (event.target === this.next) {
this.ws_.goNext();
} else if (event.target === this.next) {
} else if (event.target === this.prev) {
this.ws_.goPrev();
} else {
this.ws_.toggleZoom();

View File

@@ -1735,7 +1735,7 @@ var Navigation = function () {
event.preventDefault();
if (event.target === this.next) {
this.ws_.goNext();
} else if (event.target === this.next) {
} else if (event.target === this.prev) {
this.ws_.goPrev();
} else {
this.ws_.toggleZoom();

File diff suppressed because one or more lines are too long