I am using this gem in my project.
When I try to do $(".timepicker").pickatime() I get an error Uncaught TypeError: $(...).pickatime is not a function So I looked at the file(app/assets/javascripts/materialize/date_picker/picker.time.js) and saw an semicolon in front of (function(){ That I think should not be there.
I am using this gem in my project. When I try to do
$(".timepicker").pickatime()
I get an errorUncaught TypeError: $(...).pickatime is not a function
So I looked at the file(app/assets/javascripts/materialize/date_picker/picker.time.js) and saw an semicolon in front of(function(){
That I think should not be there.