* Fix 'small i' textStyle

This commit is contained in:
Bryan Ashby 2015-04-28 17:21:24 -06:00
parent 8bc2f31967
commit 2c4711a976
2 changed files with 3 additions and 2 deletions

View file

@ -84,7 +84,7 @@ function stylizeString(s, style) {
// Small i's: DEMENTiA
case 'small i' :
case 'i' : return s.toUpperCase().replace('I', 'i');
case 'i' : return s.toUpperCase().replace(/I/g, 'i');
// mIxeD CaSE (random upper/lower)
case 'mixed' :