this seems to fix the anomalous scrolling in Firefox
This commit is contained in:
parent
6bab577e14
commit
ff273d7ac0
@ -88,7 +88,7 @@ Gallery =
|
|||||||
else
|
else
|
||||||
Gallery.images[0]
|
Gallery.images[0]
|
||||||
|
|
||||||
d.body.style.overflow = 'hidden'
|
doc.style.overflow = 'hidden'
|
||||||
nodes.total.textContent = Gallery.images.length
|
nodes.total.textContent = Gallery.images.length
|
||||||
|
|
||||||
generateThumb: (post) ->
|
generateThumb: (post) ->
|
||||||
@ -262,7 +262,7 @@ Gallery =
|
|||||||
$.rm Gallery.nodes.el
|
$.rm Gallery.nodes.el
|
||||||
delete Gallery.nodes
|
delete Gallery.nodes
|
||||||
delete Gallery.fullIDs
|
delete Gallery.fullIDs
|
||||||
d.body.style.overflow = ''
|
doc.style.overflow = ''
|
||||||
|
|
||||||
$.off d, 'keydown', Gallery.cb.keybinds
|
$.off d, 'keydown', Gallery.cb.keybinds
|
||||||
$.on d, 'keydown', Keybinds.keydown
|
$.on d, 'keydown', Keybinds.keydown
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user