Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this.$widget.addClass is not a function #132

Open
icey502 opened this issue Jul 2, 2013 · 0 comments
Open

this.$widget.addClass is not a function #132

icey502 opened this issue Jul 2, 2013 · 0 comments
Labels

Comments

@icey502
Copy link

icey502 commented Jul 2, 2013

Hi Guys,

First - thanks for the library :-)

When I use the timepicker (downloaded July 2, 2013) without the template option, yet I mouse click on the clock icon, I see this js error:

TypeError: this.$widget.addClass is not a function
this.$widget.addClass('open');

When I place a console.log at line 694 to take a look at this.$widget, I see that its value is false, it really does not appear have an "addClass":

console.log("adding class to widget ",this.$widget);
output:
-> adding class to widget false

Here is the related code, maybe I am doing something wrong:

Time:

Initializing javscript:
jQuery('#timepicker1').timepicker({
template: false,
showInputs: false,
minuteStep: 5,
showMeridian: false,
});

@mrhota mrhota added the bug label Aug 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants