Created
January 2, 2013 19:41
-
-
Save semperos/4437272 to your computer and use it in GitHub Desktop.
jQuery Timepicker defensive tweak
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tp_inst.amNames = $.map(tp_inst._defaults.amNames, function(val) { if ($.type(val) === "string") { return val.toUpperCase(); } }); | |
| tp_inst.pmNames = $.map(tp_inst._defaults.pmNames, function(val) { if ($.type(val) === "string") { return val.toUpperCase(); } }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment