From 4016f9fd43d057d155caa1c17e8bed87dfb03e1d Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Wed, 27 Apr 2016 16:14:33 -0500 Subject: [PATCH] Fixes weird loop in the bidi.js. Closes #7231. --- src/core/bidi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/bidi.js b/src/core/bidi.js index 041448337..16bb4e00c 100644 --- a/src/core/bidi.js +++ b/src/core/bidi.js @@ -252,7 +252,7 @@ types[j] = 'EN'; } // do after - for (j = i + 1; j < strLength; --j) { + for (j = i + 1; j < strLength; ++j) { if (types[j] !== 'ET') { break; }