Commit ff702bd6 authored by Phil Hughes's avatar Phil Hughes

Changed how date gets cleared

parent ab722343
......@@ -13,8 +13,7 @@ class @DueDateSelect
$('.js-clear-due-date').on 'click', (e) ->
e.preventDefault()
$dueDate.val('')
$datePicker.datepicker('setDate', '')
$.datepicker._clearDate($datePicker)
# Issuable sidebar
$loading = $('.js-issuable-update .due_date')
......
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