RCFilters: Explicitly set the default highlight color to null
authorRoan Kattouw <roan.kattouw@gmail.com>
Tue, 10 Jul 2018 17:56:53 +0000 (10:56 -0700)
committerSbisson <sbisson@wikimedia.org>
Wed, 11 Jul 2018 17:30:44 +0000 (17:30 +0000)
commit2b363541ae1ad6955e9d90ac929c2f5e9f8de148
tree0a928ffb83437d57ac5e695f871981951b6c57fb
parent756185b99f81b140d66184fa6958436869a74ffd
RCFilters: Explicitly set the default highlight color to null

Other code checks !== null on this, and since undefined !== null, it
will incorrectly think a highlight color is set when it's not.

Bug: T199144
Change-Id: I5dbe95ff3c2a5e9c4597a1794a0d3256b671238f
resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.ItemModel.js