Commit e381825c authored by Curtis Adam's avatar Curtis Adam

Presentation: Fix pomodoro modal start button not activating the pomodoro timer

parent fa456ece
......@@ -6,6 +6,7 @@ import {NavigatorCheck} from "../../api/navigatorCheck";
import {Bonus} from "../../api/bonus";
import {Route} from "../../api/route";
import {CardVisuals} from "../../api/cardVisuals";
import {Session} from "meteor/session";
/*
* ############################################################################
......@@ -80,6 +81,9 @@ Template.pomodoroTimerModal.events({
},
'click #startPom': function () {
PomodoroTimer.start();
if (Route.isPresentation()) {
Session.set('presentationPomodoroActive', true);
}
},
'click #cancelPomodoroBtn': function () {
$('#pomodoroTimerModal').modal('hide');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment