RCFilters: Don't empty the changes list on first load
authorMoriel Schottlender <moriel@gmail.com>
Fri, 21 Jul 2017 21:50:30 +0000 (14:50 -0700)
committerMoriel Schottlender <moriel@gmail.com>
Fri, 21 Jul 2017 21:50:30 +0000 (14:50 -0700)
commit7dec3ae8477c4c62cee4a4a116f5f94bceeb0f85
treed44a12d78b7be7006bfcf54e11f8965c0b414ce4
parentf4a53c54065c385172363416eb3cb44b67585ca2
RCFilters: Don't empty the changes list on first load

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
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ChangesListWrapperWidget.js