make sure Ox.Input works without options

This commit is contained in:
rolux 2014-11-20 13:47:25 +00:00
parent 303bc1c0a7
commit c47545d77e

View file

@ -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,