mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
bugfix... (not final)
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8905152126
commit
ab0e429189
@ -161,10 +161,11 @@ var URLHistoryActions = actions.Actions({
|
|||||||
var k = Object.keys(this.url_history)
|
var k = Object.keys(this.url_history)
|
||||||
// we will not remove pinned items...
|
// we will not remove pinned items...
|
||||||
.filter((function(e){
|
.filter((function(e){
|
||||||
return !this.url_history[e].pinned }).bind(this))
|
return this.url_history[e].pinned != null }).bind(this))
|
||||||
|
|
||||||
// drop first url in order -- first added...
|
// drop first url in order -- first added...
|
||||||
this.dropURLFromHistory(k[0])
|
k.length > l
|
||||||
|
&& this.dropURLFromHistory(k[0])
|
||||||
} while(k.length - 1 > l)
|
} while(k.length - 1 > l)
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user