Browse Source

Fixes weird loop in the bidi.js.

Closes #7231.
Yury Delendik 9 years ago
parent
commit
4016f9fd43
  1. 2
      src/core/bidi.js

2
src/core/bidi.js

@ -252,7 +252,7 @@
types[j] = 'EN'; types[j] = 'EN';
} }
// do after // do after
for (j = i + 1; j < strLength; --j) { for (j = i + 1; j < strLength; ++j) {
if (types[j] !== 'ET') { if (types[j] !== 'ET') {
break; break;
} }

Loading…
Cancel
Save