FIX: Allow reverting theme/text settings from cookie back to default

This commit is contained in:
David Taylor
2019-02-08 15:39:44 +00:00
parent 62043e6904
commit 95eb4c67f2
5 changed files with 43 additions and 22 deletions
@@ -141,7 +141,7 @@ QUnit.test("font size change", async assert => {
await selectKitSelectRowByValue("largest", ".text-size .combobox");
await savePreferences();
assert.equal($.cookie("text_size"), "larger|1", "cookie remains the same");
assert.equal($.cookie("text_size"), null, "cookie is removed");
$.removeCookie("text_size");
});