You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly I init "$('#gallery').poptrox()" ,and then I use ajax to load data (append under $('#gallery') ).Finaly I slide down & click the , but it cause the error which is Uncaught TypeError: Cannot read property 'object' of undefined. How to use poptrox.js when using ajax?
The text was updated successfully, but these errors were encountered:
I resolved the problem!!! I changed Line 851 queue.push(x) to queue[index] = x; IN file (jquery.poptrox.js v2.5.1) ! I debug by chorm and found that the ajax data overwrited origin 'queue',so 'queue' always had 6 data (Not ADD)! When I click the new '', it could not find true index in ‘queue’
Firstly I init
"$('#gallery').poptrox()"
,and then I use ajax to load data (append under $('#gallery') ).Finaly I slide down & click the , but it cause the error which isUncaught TypeError: Cannot read property 'object' of undefined
. How to use poptrox.js when using ajax?The text was updated successfully, but these errors were encountered: