make sure Ox.Input works without options
This commit is contained in:
parent
303bc1c0a7
commit
c47545d77e
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ Ox.Input = function(options, self) {
|
|||
|
||||
self = self || {};
|
||||
var that = Ox.Element({
|
||||
element: options.element || '<div>'
|
||||
element: (options || {}).element || '<div>'
|
||||
}, self)
|
||||
.defaults({
|
||||
arrows: false,
|
||||
|
|
Loading…
Reference in a new issue