diff --git a/ui (gen4)/features/history.js b/ui (gen4)/features/history.js index 5dd2c610..f210d4f5 100755 --- a/ui (gen4)/features/history.js +++ b/ui (gen4)/features/history.js @@ -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()