Skip to content
Snippets Groups Projects
Commit d7070cab authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Date addon boxes are now clickable

parent b35541bc
No related branches found
No related tags found
No related merge requests found
......@@ -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())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment