I have 2 tabs open. On tab 1 I click login and the state changes in ~1-2 seconds. If I quickly focus the 2nd tab before the changes in tab 1 the ngStorage doesn't update due to !doc.hasFocus || !doc.hasFocus(). Why is this placed here?
This is done in Chrome 71.0.3578.98 (Official Build) (64-bit)
I have 2 tabs open. On tab 1 I click login and the state changes in ~1-2 seconds. If I quickly focus the 2nd tab before the changes in tab 1 the ngStorage doesn't update due to
!doc.hasFocus || !doc.hasFocus()
. Why is this placed here?This is done in Chrome 71.0.3578.98 (Official Build) (64-bit)