jQuery.empty() apparently also unattaches event handlers.
Only empty before we re-append if we are not in the first
load of the changes list.
Bug: T171085
Change-Id: I68754e99a6c5c821be47b1b1e8e22f23db85746c
this.$element.append( $message );
} else {
this.$changesListContent = $changesListContent;
- this.$element.empty().append( this.$changesListContent );
+ if ( !isInitialDOM ) {
+ this.$element.empty().append( this.$changesListContent );
+ }
// Set up highlight containers
this.setupHighlightContainers( this.$element );