mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a5aec38bcb
commit
2fa1e5a510
@ -160,6 +160,8 @@ var URLHistoryActions = actions.Actions({
|
||||
var to_remove = Object.keys(this.url_history)
|
||||
// we will not remove pinned items...
|
||||
.filter(function(e){
|
||||
// NOTE: .pinned can be 0 so we can't just use
|
||||
// that.url_history[e].pinned as a test...
|
||||
return that.url_history[e].pinned == null })
|
||||
// we clear the head of the list -- first/oldest urls added...
|
||||
to_remove.reverse()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user