mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +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)
|
var to_remove = Object.keys(this.url_history)
|
||||||
// we will not remove pinned items...
|
// we will not remove pinned items...
|
||||||
.filter(function(e){
|
.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 })
|
return that.url_history[e].pinned == null })
|
||||||
// we clear the head of the list -- first/oldest urls added...
|
// we clear the head of the list -- first/oldest urls added...
|
||||||
to_remove.reverse()
|
to_remove.reverse()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user