Commit d7070cab authored by Taddeus Kroes's avatar Taddeus Kroes

Date addon boxes are now clickable

parent b35541bc
......@@ -21,7 +21,9 @@ $ ->
$(@).change()
$('input[type^=date]').each ->
create_addon(@).html('<span class="glyphicon glyphicon-calendar"></span>')
create_addon(@)
.html('<span class="glyphicon glyphicon-calendar"></span>')
.on 'click', -> $(@).prev('input').focus()
$('input[type=number]').on('focus', -> $(@).select())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment