fixed a bug with custom tests not getting leftToRight properly

This commit is contained in:
typer 2020-09-10 20:40:39 -07:00
parent bf6973def0
commit 4fee8ff1df

View file

@ -747,7 +747,7 @@ function addWord() {
? words[config.language]
: {
//borrow the direction of the current language
leftToRight: language.leftToRight,
leftToRight: words[config.language].leftToRight,
words: customText
};
const wordset = language.words;