Merge branch 'v3'
This commit is contained in:
commit
7a7d39c171
@ -6617,7 +6617,7 @@
|
|||||||
$.add(d.body, dialog);
|
$.add(d.body, dialog);
|
||||||
nodes.thumbs.scrollTop = 0;
|
nodes.thumbs.scrollTop = 0;
|
||||||
nodes.current.parentElement.scrollTop = 0;
|
nodes.current.parentElement.scrollTop = 0;
|
||||||
Gallery.cb.open.call(image ? $("[href='" + (image.href.replace(/https?:/, '')) + "']", Gallery.thumbs) : Gallery.images[0]);
|
Gallery.cb.open.call(image ? $("[href='" + (image.href.replace(/https?:/, '')) + "']", nodes.thumbs) : Gallery.images[0]);
|
||||||
d.body.style.overflow = 'hidden';
|
d.body.style.overflow = 'hidden';
|
||||||
return nodes.total.textContent = --i;
|
return nodes.total.textContent = --i;
|
||||||
},
|
},
|
||||||
|
|||||||
@ -8925,7 +8925,7 @@
|
|||||||
$.add(d.body, dialog);
|
$.add(d.body, dialog);
|
||||||
nodes.thumbs.scrollTop = 0;
|
nodes.thumbs.scrollTop = 0;
|
||||||
nodes.current.parentElement.scrollTop = 0;
|
nodes.current.parentElement.scrollTop = 0;
|
||||||
Gallery.cb.open.call(image ? $("[href='" + (image.href.replace(/https?:/, '')) + "']", Gallery.thumbs) : Gallery.images[0]);
|
Gallery.cb.open.call(image ? $("[href='" + (image.href.replace(/https?:/, '')) + "']", nodes.thumbs) : Gallery.images[0]);
|
||||||
d.body.style.overflow = 'hidden';
|
d.body.style.overflow = 'hidden';
|
||||||
return nodes.total.textContent = --i;
|
return nodes.total.textContent = --i;
|
||||||
},
|
},
|
||||||
|
|||||||
@ -98,7 +98,7 @@ Gallery =
|
|||||||
nodes.current.parentElement.scrollTop = 0
|
nodes.current.parentElement.scrollTop = 0
|
||||||
|
|
||||||
Gallery.cb.open.call if image
|
Gallery.cb.open.call if image
|
||||||
$ "[href='#{image.href.replace /https?:/, ''}']", Gallery.thumbs
|
$ "[href='#{image.href.replace /https?:/, ''}']", nodes.thumbs
|
||||||
else
|
else
|
||||||
Gallery.images[0]
|
Gallery.images[0]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user