mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
Merge branch 'master' of github.com:flynx/ImageGrid
This commit is contained in:
commit
5d35ae1fb0
@ -444,12 +444,12 @@ function(event, action, {handler, default_item, filter, options, update=true}={}
|
||||
var that = this
|
||||
var change = false
|
||||
items.forEach(function(item){
|
||||
change = action(item)
|
||||
change = action(item) !== false
|
||||
handler
|
||||
&& handler.call(that, item) })
|
||||
// need to update for changes to show up...
|
||||
change
|
||||
&& update
|
||||
update
|
||||
&& change
|
||||
&& this.update() },
|
||||
default_item:
|
||||
default_item
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user