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
As it says - in the info bar there is text "null" if image data-description is empty.
Personally I have very little experience with js, but I was able to find a simple solution - in custom image object function change
description: img.data('description')
to
description: img.data('description') || ''
(maybe same thing should be done with titles?)
thanks for a nice gallery!
The text was updated successfully, but these errors were encountered:
As it says - in the info bar there is text "null" if image data-description is empty.
Personally I have very little experience with js, but I was able to find a simple solution - in custom image object function change
description: img.data('description')
to
description: img.data('description') || ''
(maybe same thing should be done with titles?)
thanks for a nice gallery!
The text was updated successfully, but these errors were encountered: