Gallery.thumbs > Gallery.nodes.thumbs

This commit is contained in:
Zixaphir 2013-08-24 14:04:50 -07:00
parent 50416a0aab
commit f07a0a1694
3 changed files with 3 additions and 3 deletions

View File

@ -6617,7 +6617,7 @@
$.add(d.body, dialog);
nodes.thumbs.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';
return nodes.total.textContent = --i;
},

View File

@ -6602,7 +6602,7 @@
$.add(d.body, dialog);
nodes.thumbs.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';
return nodes.total.textContent = --i;
},

View File

@ -96,7 +96,7 @@ Gallery =
nodes.current.parentElement.scrollTop = 0
Gallery.cb.open.call if image
$ "[href='#{image.href.replace /https?:/, ''}']", Gallery.thumbs
$ "[href='#{image.href.replace /https?:/, ''}']", nodes.thumbs
else
Gallery.images[0]