forked from 0x2620/oxjs
refactoring
This commit is contained in:
parent
ab68c4a54f
commit
9ee0742b53
6 changed files with 15 additions and 13 deletions
|
|
@ -102,7 +102,7 @@ Ox.FileButton = function(options, self) {
|
|||
if (key == 'disabled') {
|
||||
self.$button.options({disabled: value});
|
||||
self.$input[value ? 'hide' : 'show']();
|
||||
} else if (key == title) {
|
||||
} else if (key == 'title') {
|
||||
self.$button.options({title: value});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue