Skip to content

Commit

Permalink
Bug Fixes and 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
deviprsd committed Sep 6, 2015
1 parent 1fedbbc commit 83e6366
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/calendario.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
if(c.repeat == 'INTERVAL' || c.repeat == 'EVERYDAY') c.repeat = 'MON, TUE, WED, THU, FRI, SAT, SUN'
else if(c.repeat == 'WEEKDAYS') c.repeat = self.options.weekdays
else if(c.repeat == 'WEEKENDS') c.repeat = self.options.weekends
if($.inArray(c.repeat, [undefined, 'YEARLY', 'MONTHLY']) != -1) data = self.insertToCaldata(key.split('-')[1], c, key.split('-'), data)
if($.inArray(c.repeat, [undefined, 'YEARLY', 'MONTHLY']) != -1) data = self.insertToCaldata(parseInt(key.split('-')[1]), c, key.split('-'), data)
else if(c.repeat) {
$.each(c.repeat.split(','), function(v, k){
data = self.insertToCaldata(k.trim(), $.extend(c, {repeat: 'WEEKLY'}), key.split('-'), data)
Expand Down
Loading

0 comments on commit 83e6366

Please sign in to comment.