From c47545d77eb618cf220fe244eb3fd5c8a9ec42a5 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 20 Nov 2014 13:47:25 +0000 Subject: [PATCH] make sure Ox.Input works without options --- source/UI/js/Form/Input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/UI/js/Form/Input.js b/source/UI/js/Form/Input.js index dff0eadb..61f9eae1 100644 --- a/source/UI/js/Form/Input.js +++ b/source/UI/js/Form/Input.js @@ -72,7 +72,7 @@ Ox.Input = function(options, self) { self = self || {}; var that = Ox.Element({ - element: options.element || '
' + element: (options || {}).element || '
' }, self) .defaults({ arrows: false,