mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
01cc2c2726
commit
60850313ed
@ -322,7 +322,13 @@ var BaseBrowserPrototype = {
|
||||
// item id...
|
||||
// XXX revise id generation...
|
||||
// XXX these should include the path... (???)
|
||||
var key = opts.id || JSON.stringify(value)
|
||||
var key = opts.id
|
||||
// value is a browser -> generate an unique id...
|
||||
// XXX identify via API...
|
||||
// XXX do a better id
|
||||
|| (value instanceof Browser
|
||||
&& Date.now())
|
||||
|| JSON.stringify(value)
|
||||
|
||||
// no duplicate keys...
|
||||
if(key in new_index){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user