Skip to content

Fixed #29 and added info in package.json so it can be published to npm #28

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions dist/jquery.date-dropdowns.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* jQuery Date Dropdowns - v1.0.0
* A simple, customisable date select plugin
*
* Made by Chris Brown
* Under MIT License
*/
/*
* jQuery Date Dropdowns - v1.0.0
* A simple, customisable date select plugin
*
* Made by Chris Brown
* Under MIT License
*/
;(function ($, window, document, undefined) {

'use strict';
Expand Down Expand Up @@ -215,6 +215,7 @@
// If invalid - add an error class to the day dropdown and return
if (invalidDate) {
objectRefs.dayDropdown.addClass('invalid');
objectRefs.hiddenField.change();
return false;
}

Expand Down
16 changes: 8 additions & 8 deletions dist/jquery.date-dropdowns.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions dist/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "1.1.1",
"name": "jquery-date-dropdowns",
"license": "MIT",
"bugs": {
"url": "https://github.com/slavede/jquery-date-dropdowns/issues"
},
"homepage": "https://github.com/slavede/jquery-date-dropdowns",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-cli": "~0.1.13",
"grunt-contrib-concat": "~0.4.0",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-uglify": "~0.4.0",
"grunt-contrib-watch": "^0.6.1"
}
}
Loading