mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
removed a side-effect bug...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3134485376
commit
fd4eb40307
@ -1260,8 +1260,9 @@ var DataPrototype = {
|
||||
gids = arguments.length > 1 ?
|
||||
[].slice.call(arguments)
|
||||
: (gids || this.current)
|
||||
gids = (gids instanceof Array ? gids : [gids])
|
||||
gids = (gids instanceof Array ? gids.slice() : [gids])
|
||||
// sort ribbon gids to .ribbon_order
|
||||
gids = gids
|
||||
.concat(this.ribbon_order
|
||||
.filter(function(g){
|
||||
var i = gids.indexOf(g)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user