Gallery fix
This commit is contained in:
parent
b36a7df1e6
commit
4ff134e060
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* appchan x - Version 2.9.31 - 2014-07-27
|
||||
* appchan x - Version 2.9.31 - 2014-07-28
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* appchan x - Version 2.9.31 - 2014-07-27
|
||||
* appchan x - Version 2.9.31 - 2014-07-28
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
@ -10513,7 +10513,7 @@
|
||||
$.add(d.body, dialog);
|
||||
nodes.thumbs.scrollTop = 0;
|
||||
nodes.current.parentElement.scrollTop = 0;
|
||||
Gallery.cb.open.call(image ? $("[href='" + (image.href.replace(/https?:/, '')) + "']", nodes.thumbs) : Gallery.images[0]);
|
||||
Gallery.cb.open.call(image ? $("[href*='" + image.pathname + "']", nodes.thumbs) : Gallery.images[0]);
|
||||
d.body.style.overflow = 'hidden';
|
||||
return nodes.total.textContent = i;
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// Generated by CoffeeScript
|
||||
/*
|
||||
* appchan x - Version 2.9.31 - 2014-07-27
|
||||
* appchan x - Version 2.9.31 - 2014-07-28
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
@ -10541,7 +10541,7 @@
|
||||
$.add(d.body, dialog);
|
||||
nodes.thumbs.scrollTop = 0;
|
||||
nodes.current.parentElement.scrollTop = 0;
|
||||
Gallery.cb.open.call(image ? $("[href='" + (image.href.replace(/https?:/, '')) + "']", nodes.thumbs) : Gallery.images[0]);
|
||||
Gallery.cb.open.call(image ? $("[href*='" + image.pathname + "']", nodes.thumbs) : Gallery.images[0]);
|
||||
d.body.style.overflow = 'hidden';
|
||||
return nodes.total.textContent = i;
|
||||
},
|
||||
|
||||
@ -91,7 +91,7 @@ Gallery =
|
||||
nodes.current.parentElement.scrollTop = 0
|
||||
|
||||
Gallery.cb.open.call if image
|
||||
$ "[href='#{image.href.replace /https?:/, ''}']", nodes.thumbs
|
||||
$ "[href*='#{image.pathname}']", nodes.thumbs
|
||||
else
|
||||
Gallery.images[0]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user