Fix infinite spinner in JS version of show changes

Empty content causes the hiding of the spinner to be skipped.

Bug: 38502
Change-Id: Iefb224877976d463a5bb7b92a8e09fe958cd16c2
Merge "Fix infinite spinner in JS version of show changes"