From 2c4711a97669b7997337179376fe12886a077e4a Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Tue, 28 Apr 2015 17:21:24 -0600 Subject: [PATCH] * Fix 'small i' textStyle --- core/string_util.js | 2 +- mods/menu.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/string_util.js b/core/string_util.js index f50e967d..eed9ca31 100644 --- a/core/string_util.js +++ b/core/string_util.js @@ -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' : diff --git a/mods/menu.json b/mods/menu.json index 9c7aad6d..18149f1e 100644 --- a/mods/menu.json +++ b/mods/menu.json @@ -188,7 +188,8 @@ "Spinner & Toggle Views", "Other" ], - "focusTextStyle" : "U" + // :TODO: justify not working?? + "focusTextStyle" : "small i" } }, "submit" : {