Skip to content

Commit a76a008

Browse files
committed
- (Bug Fix) Fixed some issues with instantiating date objects within the jQuery object.
1 parent 1c56b27 commit a76a008

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/flipclock/js/libs/plugins.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@
2929
* @param object An object of properties to override the default
3030
*/
3131

32-
$.fn.FlipClock = function(digit, options) {
33-
if(typeof digit == "object") {
34-
options = digit;
35-
digit = 0;
36-
}
32+
$.fn.FlipClock = function(digit, options) {
3733
return new FlipClock($(this), digit, options);
3834
};
3935

0 commit comments

Comments
 (0)