cosmetic changes

This commit is contained in:
rolux 2014-01-05 15:31:33 +05:30
parent c97895f55d
commit 31382f2513

View file

@ -20,7 +20,7 @@ Ox.Theme = (function() {
classNames && Ox.forEach(classNames.split(' '), function(className) { classNames && Ox.forEach(classNames.split(' '), function(className) {
if (Ox.startsWith(className, 'OxTheme')) { if (Ox.startsWith(className, 'OxTheme')) {
theme = className.replace('OxTheme', ''); theme = className.replace('OxTheme', '');
theme = theme[0].toLowerCase() + theme.substr(1); theme = theme[0].toLowerCase() + theme.slice(1);
return false; // break return false; // break
} }
}); });