File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 144
144
a = _ref [ i ] ;
145
145
this . album . push ( {
146
146
link : $ ( a ) . attr ( 'href' ) ,
147
- title : $ ( a ) . attr ( 'title' )
147
+ title : $ ( a ) . attr ( 'data-title' ) || $ ( a ) . attr ( ' title')
148
148
} ) ;
149
149
if ( $ ( a ) . attr ( 'href' ) === $link . attr ( 'href' ) ) {
150
150
imageNumber = i ;
155
155
// If image is not part of a set
156
156
this . album . push ( {
157
157
link : $link . attr ( 'href' ) ,
158
- title : $link . attr ( 'title' )
158
+ title : $ ( a ) . attr ( 'data-title' ) || $ ( a ) . attr ( 'title' )
159
159
} ) ;
160
160
} else {
161
161
// If image is part of a set
164
164
a = _ref1 [ i ] ;
165
165
this . album . push ( {
166
166
link : $ ( a ) . attr ( 'href' ) ,
167
- title : $ ( a ) . attr ( 'title' )
167
+ title : $ ( a ) . attr ( 'data-title' ) || $ ( a ) . attr ( ' title')
168
168
} ) ;
169
169
if ( $ ( a ) . attr ( 'href' ) === $link . attr ( 'href' ) ) {
170
170
imageNumber = i ;
You can’t perform that action at this time.
0 commit comments