fix gallery
This commit is contained in:
parent
c9016ff4f1
commit
2af481a68e
@ -7381,11 +7381,11 @@
|
||||
thumb = $.el('a', {
|
||||
className: 'gal-thumb',
|
||||
href: post.file.URL,
|
||||
target: '_blank'
|
||||
}, title = title, {
|
||||
'data-id': Gallery.images.length,
|
||||
'data-post': $('a[title="Highlight this post"]', post.nodes.info).href
|
||||
target: '_blank',
|
||||
title: title
|
||||
});
|
||||
thumb.dataset.id = Gallery.images.length;
|
||||
thumb.dataset.post = $('a[title="Highlight this post"]', post.nodes.info).href;
|
||||
thumbImg = post.file.thumb.cloneNode(false);
|
||||
thumbImg.style.cssText = '';
|
||||
$.add(thumb, thumbImg);
|
||||
|
||||
@ -7400,11 +7400,11 @@
|
||||
thumb = $.el('a', {
|
||||
className: 'gal-thumb',
|
||||
href: post.file.URL,
|
||||
target: '_blank'
|
||||
}, title = title, {
|
||||
'data-id': Gallery.images.length,
|
||||
'data-post': $('a[title="Highlight this post"]', post.nodes.info).href
|
||||
target: '_blank',
|
||||
title: title
|
||||
});
|
||||
thumb.dataset.id = Gallery.images.length;
|
||||
thumb.dataset.post = $('a[title="Highlight this post"]', post.nodes.info).href;
|
||||
thumbImg = post.file.thumb.cloneNode(false);
|
||||
thumbImg.style.cssText = '';
|
||||
$.add(thumb, thumbImg);
|
||||
|
||||
@ -110,9 +110,9 @@ Gallery =
|
||||
className: 'gal-thumb'
|
||||
href: post.file.URL
|
||||
target: '_blank'
|
||||
title = title
|
||||
'data-id': Gallery.images.length
|
||||
'data-post': $('a[title="Highlight this post"]', post.nodes.info).href
|
||||
title: title
|
||||
thumb.dataset.id = Gallery.images.length
|
||||
thumb.dataset.post = $('a[title="Highlight this post"]', post.nodes.info).href
|
||||
|
||||
thumbImg = post.file.thumb.cloneNode false
|
||||
thumbImg.style.cssText = ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user