Skip to content

Commit

Permalink
Merge pull request #2 from jlmitch5/master
Browse files Browse the repository at this point in the history
Make the repeating interval for the sched a number
  • Loading branch information
leigh-johnson committed May 11, 2016
2 parents 9c9c535 + 0b43cd0 commit 869d708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/angular-scheduler.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ angular.module('AngularScheduler', ['underscore'])
var options = {};
options.startDate = this.scope.schedulerUTCTime;
options.frequency = this.scope.schedulerFrequency.value;
options.interval = this.scope.schedulerInterval;
options.interval = parseInt(this.scope.schedulerInterval);
if (this.scope.schedulerEnd.value === 'after') {
options.occurrenceCount = this.scope.schedulerOccurrenceCount;
}
Expand Down

0 comments on commit 869d708

Please sign in to comment.