mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5d8b79f8cc
commit
66df691aad
@ -3875,10 +3875,11 @@ var BrowserPrototype = {
|
||||
scrollTo: function(pattern, position){
|
||||
var target = this.get(pattern)
|
||||
target
|
||||
&& getElem(target).scrollIntoView({
|
||||
behavior: (this.options || {}).scrollBehavior || 'auto',
|
||||
block: position || 'center',
|
||||
}) },
|
||||
&& getElem(target)
|
||||
.scrollIntoView({
|
||||
behavior: (this.options || {}).scrollBehavior || 'auto',
|
||||
block: position || 'center',
|
||||
}) },
|
||||
|
||||
|
||||
// Navigation...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user