Skip to main content
added 31 characters in body
Source Link
Oded StaffMod
  • 498.3k
  • 40
  • 279
  • 255

I thought I was going nuts but I've just confirmed that the colour of the reputation notification is blue if it's been added by an Ajax call (i.e. sat on the page and someone votes on a post of mine):

enter image description here

However, it is green (the correct colour in my opinion!) when the page is refreshed:

enter image description here

It looks like the span gets a _positive class on refresh that is missing in the Ajax update.

I thought I was going nuts but I've just confirmed that the colour of the reputation notification is blue if it's been added by an Ajax call (i.e. sat on the page and someone votes on a post of mine):

enter image description here

However, it is green (the correct colour in my opinion!) when the page is refreshed:

enter image description here

It looks like the span gets a _positive class on refresh that is missing in the Ajax update.

I thought I was going nuts but I've just confirmed that the colour of the reputation notification is blue if it's been added by an Ajax call (i.e. sat on the page and someone votes on a post of mine):

enter image description here

However, it is green (the correct colour in my opinion!) when the page is refreshed:

enter image description here

It looks like the span gets a _positive class on refresh that is missing in the Ajax update.

Source Link
DavidG
  • 118.7k
  • 3
  • 30
  • 43

I thought I was going nuts but I've just confirmed that the colour of the reputation notification is blue if it's been added by an Ajax call (i.e. sat on the page and someone votes on a post of mine):

enter image description here

However, it is green (the correct colour in my opinion!) when the page is refreshed:

enter image description here

It looks like the span gets a _positive class on refresh that is missing in the Ajax update.