From 6c8376e3f22fae6cb4bc775f321d6c841b9b4dc1 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sat, 20 Mar 2021 15:21:28 +0000 Subject: [PATCH] prevented from using read ahead easy and hard in combination with highlight mode word --- src/js/userconfig.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/js/userconfig.js b/src/js/userconfig.js index b4557d594..289b2f72f 100644 --- a/src/js/userconfig.js +++ b/src/js/userconfig.js @@ -640,7 +640,10 @@ function toggleLiveAcc() { function setHighlightMode(mode, nosave) { if ( mode === "word" && - (activeFunbox === "nospace" || activeFunbox === "read_ahead") + (activeFunbox === "nospace" || + activeFunbox === "read_ahead" || + activeFunbox === "read_ahead_easy" || + activeFunbox === "read_ahead_hard") ) { Notifications.add("Can't use word highlight with this funbox", 0); return;