File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*!
2- * LBT Lightbox v1.0.7
2+ * LBT Lightbox v1.0.9
33 * by Jean Kássio
44 *
55 * More info:
328328 GetIframeVideos ( ) ;
329329 GetHTML5Videos ( ) ;
330330
331- $lbt_images = $ ( options . custom_children , options . container_images ) ;
332- $totalImages = $lbt_images . length ;
333-
334- LoadImages ( $lbt_images ) ;
331+ setTimeout ( function ( ) {
332+
333+ $lbt_images = $ ( options . custom_children , options . container_images ) ;
334+ $totalImages = $lbt_images . length ;
335+
336+ LoadImages ( $lbt_images ) ;
337+
338+ } , 500 ) ;
335339
336340 }
337341
11431147
11441148 $ ( imgs ) . each ( function ( i ) {
11451149
1146- if ( $ ( this ) . attr ( 'src' ) . match ( '^blob:https?:\/\/(?:www\.)?' ) == null ) {
1150+ if ( typeof $ ( this ) . attr ( 'src' ) ! == 'undefined' ) {
11471151
1148- ImageTob64 ( this ) ;
1152+ if ( $ ( this ) . attr ( 'src' ) . match ( '^blob:https?:\/\/(?:www\.)?' ) == null ) {
1153+
1154+ ImageTob64 ( this ) ;
1155+
1156+ }
11491157
11501158 }
11511159
You can’t perform that action at this time.
0 commit comments