mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
277a21d1e5
commit
0641dad600
@ -2821,6 +2821,7 @@ var BaseBrowserPrototype = {
|
||||
// first result only.
|
||||
//
|
||||
// XXX should we be able to get offset values relative to any match?
|
||||
// XXX BUG: when pattern is a path this returns a view rather than the item....
|
||||
get: function(pattern, options){
|
||||
var args = [...arguments]
|
||||
pattern = args.shift()
|
||||
@ -2852,9 +2853,8 @@ var BaseBrowserPrototype = {
|
||||
.reduce(function(r, e){
|
||||
return r || typeof(e) != typeof('str') }, false)))
|
||||
&& !('iterateCollapsed' in options)){
|
||||
options = Object.assign(
|
||||
Object.create(options),
|
||||
{iterateCollapsed: true}) }
|
||||
options.iterateCollapsed = true
|
||||
}
|
||||
|
||||
// sanity checks...
|
||||
if(offset <= 0){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user