From be8074e6dd238f256d0a70ce9a1fbce03e3561c1 Mon Sep 17 00:00:00 2001 From: vjrj Date: Tue, 3 Dec 2024 18:08:50 +0100 Subject: [PATCH] Only add documment.ready to the jquey part --- grails-app/assets/javascripts/contribution.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grails-app/assets/javascripts/contribution.js b/grails-app/assets/javascripts/contribution.js index 8b27e73a..a955751d 100644 --- a/grails-app/assets/javascripts/contribution.js +++ b/grails-app/assets/javascripts/contribution.js @@ -74,6 +74,8 @@ function changeProtocol() { } instrument(); + +$(document).ready(function() { //$('[name="start_date"]').datepicker({dateFormat: 'yy-mm-dd'}); /* this expands lists of urls into an array of text inputs */ // create a delete element that removes the element before it and itself