Page 1 of 1

Uncaught TypeError: Cannot read property 'velocity' of undefined

Posted: 30 Jan 2019, 21:13
by hstruck
Since the last update (3.27.0) I get this error in the console.
Code
Uncaught TypeError: Cannot read property 'velocity' of undefined
    at h (x3.min.js:3)
    at HTMLDivElement.<anonymous> (x3.min.js:3)
    at HTMLDivElement.dispatch (jquery.min.js:2)
    at HTMLDivElement.y.handle (jquery.min.js:2)
    at Object.trigger (jquery.min.js:2)
    at HTMLDivElement.<anonymous> (jquery.min.js:2)
    at Function.each (jquery.min.js:2)
    at w.fn.init.each (jquery.min.js:2)
    at w.fn.init.trigger (jquery.min.js:2)
    at fd (fotorama.js:4)

Re: Uncaught TypeError: Cannot read property 'velocity' of undefined

Posted: 30 Jan 2019, 23:10
by mjau-mjau
Ok, already fixed in X3.27.1 due for release within a couple of days. Thanks for reporting.

The harmless error happened when there is only 1 image in slideshow and attempting to navigate by click or keyboard.

Re: Uncaught TypeError: Cannot read property 'velocity' of undefined

Posted: 07 Feb 2019, 01:02
by mjau-mjau
X3.27.1 was released yesterday, and console error should be resolved. Thanks for reporting!