File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 4848 scrollToToday : true
4949 } ;
5050
51+ /**
52+ * Extend options with default values
53+ */
54+ if ( options ) {
55+ $ . extend ( settings , options ) ;
56+ }
57+
58+ // can't use cookie if don't have `$.cookie`
59+ settings . useCookie = settings . useCookie && $ . isFunction ( $ . cookie ) ;
60+
5161 // custom selector `:findday` used to match on specified day in ms.
5262 //
5363 // The selector is passed a date in ms and elements are added to the
16941704
16951705
16961706 this . each ( function ( ) {
1697- /**
1698- * Extend options with default values
1699- */
1700- if ( options ) {
1701- $ . extend ( settings , options ) ;
1702- }
1703-
17041707 this . data = null ; // Received data
17051708 this . pageNum = 0 ; // Current page number
17061709 this . pageCount = 0 ; // Available pages count
You can’t perform that action at this time.
0 commit comments