forked from 0x2620/oxjs
use Ox.break
This commit is contained in:
parent
3d4a79b6a2
commit
04784630d3
42 changed files with 117 additions and 118 deletions
|
|
@ -18,7 +18,7 @@ Ox.Theme = (function() {
|
|||
Ox.forEach(Ox.UI.$body.attr('class').split(' '), function(className) {
|
||||
if (Ox.startsWith(className, 'OxTheme')) {
|
||||
theme = className.replace('OxTheme', '').toLowerCase();
|
||||
return false;
|
||||
Ox.break();
|
||||
}
|
||||
});
|
||||
return theme;
|
||||
|
|
@ -105,7 +105,7 @@ Ox.Theme = (function() {
|
|||
background: $element_.css('background'),
|
||||
color: $element_.css('color')
|
||||
});
|
||||
return false;
|
||||
Ox.break();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue