diff options
author | Adrián Oliva <adrian.oliva@cimat.mx> | 2023-05-19 15:19:11 -0600 |
---|---|---|
committer | Adrián Oliva <adrian.oliva@cimat.mx> | 2023-05-19 15:19:11 -0600 |
commit | ff4cc46041251972634a28c1f780541fd105aadc (patch) | |
tree | 10ac8ed59e3729781604257830a3ce71c7f90dcc /index.html | |
parent | 8e274132e60b21277506df3c7b47e5f75518fb32 (diff) | |
download | ToDo-App-FE-ff4cc46041251972634a28c1f780541fd105aadc.tar.gz ToDo-App-FE-ff4cc46041251972634a28c1f780541fd105aadc.zip |
Edit button almost done.
Noticed some bugs. Will patch on later commits.
Diffstat (limited to '')
-rw-r--r-- | index.html | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -30,6 +30,20 @@ }) }) </script> + <script> + $(document).ready(function(){ + var date_input=$('input[name="edit-todo-due-date"]'); + var container=$('.bootstrap-iso form').length>0 ? $('.bootstrap-iso form').parent() : "body"; + date_input.datepicker({ + format: 'mm/dd/yyyy', + container: container, + todayHighlight: true, + autoclose: true, + maxViewMode: 3, + todayBtn: "linked" + }) + }) + </script> </head> <body> <div id="root"></div> |