Fix media viewer slide again
This commit is contained in:
parent
a9413d17c2
commit
dd8cac0b91
4
.env
4
.env
@ -1,5 +1,5 @@
|
|||||||
API_ID=1025907
|
API_ID=1025907
|
||||||
API_HASH=452b0359b988148995f22ff0f4229750
|
API_HASH=452b0359b988148995f22ff0f4229750
|
||||||
VERSION=1.1.0
|
VERSION=1.1.0
|
||||||
VERSION_FULL=1.1.0 (96)
|
VERSION_FULL=1.1.0 (97)
|
||||||
BUILD=96
|
BUILD=97
|
||||||
|
@ -261,7 +261,8 @@ export default class AppMediaViewerBase<
|
|||||||
});
|
});
|
||||||
|
|
||||||
([[-1, this.buttons.prev], [1, this.buttons.next]] as [number, HTMLElement][]).forEach(([moveLength, button]) => {
|
([[-1, this.buttons.prev], [1, this.buttons.next]] as [number, HTMLElement][]).forEach(([moveLength, button]) => {
|
||||||
attachClickEvent(button, (e) => {
|
// attachClickEvent(button, (e) => {
|
||||||
|
button.addEventListener('click', (e) => {
|
||||||
cancelEvent(e);
|
cancelEvent(e);
|
||||||
if(this.setMoverPromise) return;
|
if(this.setMoverPromise) return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user