Reapply "RCFilters: Don't apply/clear highlights 66 times"
authorRoan Kattouw <roan.kattouw@gmail.com>
Mon, 2 Oct 2017 19:07:57 +0000 (12:07 -0700)
committerRoan Kattouw <roan.kattouw@gmail.com>
Mon, 2 Oct 2017 19:07:57 +0000 (12:07 -0700)
commit7e25acc56a8bfdc6dd793e9d4d89b801a950d70b
treeba30231aa0eb4c00d07a10097c12833f25ff138b
parentcccbba49461dd55e88785dd178887327c15f67cc
Reapply "RCFilters: Don't apply/clear highlights 66 times"

Reverts 84ddcd5d23, reapplies 212d67c67.

The original version broke the highlight color circles, this fixes it
by using enable instead of this.highlightEnabled to pass down to the
items. The former was always false, so it didn't actually propagate
the state down correctly.

Bug: T177107
Change-Id: I341d9bcd39252eac07bfebfa6d46895bc62c372f
resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FiltersViewModel.js