mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 11:50:07 +00:00
minor bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
03e857dd80
commit
22563a90ff
@ -588,6 +588,7 @@ var prepareIndex =
|
||||
module.prepareIndex =
|
||||
function(json, changes){
|
||||
changes = changes === false ? false
|
||||
// nothing set then save all...
|
||||
: changes == null ? true
|
||||
: changes
|
||||
|
||||
@ -602,7 +603,7 @@ function(json, changes){
|
||||
}
|
||||
|
||||
// tags...
|
||||
if(changes === true || changes && json.data.tags != null){
|
||||
if((changes === true || changes) && json.data.tags != null){
|
||||
// NOTE: we write the whole set ONLY if an item is true or undefined
|
||||
// i.e. not false...
|
||||
if(changes === true || changes.bookmarked){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user