Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #3804 from brave/3258
Browse files Browse the repository at this point in the history
Closed frames shouldn't include newtab
  • Loading branch information
bbondy authored Sep 8, 2016
2 parents 0a2141f + 56e9ecc commit 2646951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/state/frameStateUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ function removeFrame (frames, tabs, closedFrames, frameProps, activeFrameKey) {
0)
}

if (!frameProps.get('isPrivate')) {
if (!frameProps.get('isPrivate') && frameProps.get('location') !== 'about:newtab') {
frameProps = frameProps.set('isFullScreen', false)
closedFrames = closedFrames.push(frameProps)
if (frameProps.get('thumbnailBlob')) {
Expand Down

0 comments on commit 2646951

Please sign in to comment.