forked from 0x2620/oxjs
Ox.divideInt -> Ox.splitInt
This commit is contained in:
parent
703003bd2b
commit
f5782c475b
5 changed files with 22 additions and 23 deletions
|
|
@ -49,7 +49,7 @@ Ox.CheckboxGroup = function(options, self) {
|
|||
|
||||
self.$checkboxes = [];
|
||||
if (self.options.type == 'group') {
|
||||
self.checkboxWidth = Ox.divideInt(
|
||||
self.checkboxWidth = Ox.splitInt(
|
||||
self.options.width + (self.options.checkboxes.length - 1) * 6,
|
||||
self.options.checkboxes.length
|
||||
).map(function(v, i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue