Fixes weird loop in the bidi.js.

Closes #7231.
This commit is contained in:
Yury Delendik 2016-04-27 16:14:33 -05:00
parent 4dc00b003d
commit 4016f9fd43

View File

@ -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;
}