Use page location as indicator for page load (#5735) [deploy]
This commit is contained in:
parent
4568f4b6f0
commit
ac222865ac
1 changed files with 2 additions and 1 deletions
|
|
@ -50,8 +50,9 @@
|
|||
}
|
||||
|
||||
// Load notifications count as quickly as it's available.
|
||||
// Not if we're on the notifications page itself
|
||||
if (
|
||||
document.getElementById('notifications-container') == null
|
||||
window.location.pathname !== '/notifications'
|
||||
) {
|
||||
var xmlhttp;
|
||||
if (window.XMLHttpRequest) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue