Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
hstruck
Topic Author
Posts: 6
Joined: 03 Dec 2018, 14:02

Uncaught TypeError: Cannot read property 'velocity' of undefined

30 Jan 2019, 21:13

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)
Attachments
error.png
error.png (574.62 KiB) Viewed 3296 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

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

30 Jan 2019, 23:10

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.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

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

07 Feb 2019, 01:02

X3.27.1 was released yesterday, and console error should be resolved. Thanks for reporting!