Commit 2cf5be92 authored by Curtis Adam's avatar Curtis Adam

Presentation: Open the pomodoro modal by default

parent d8be655b
......@@ -192,6 +192,14 @@ body {
}
}
#pomodoroTimerModal {
z-index: 4000;
}
#presentationHelpModal, #leitnerHelpModal, #wozniakHelpModal {
z-index: 5000;
}
#first_login_content {
@media(max-width: 767px) {
margin-bottom: 70px;
......
......@@ -59,7 +59,7 @@ Template.pomodoroTimerModal.onRendered(function () {
$('#pomodoroTimerModal').on('show.bs.modal', function () {
PomodoroTimer.initializeModalContent();
});
if (Route.isBox() || Route.isMemo()) {
if (Route.isBox() || Route.isMemo() || Route.isPresentation()) {
if (Bonus.isInBonus(Router.current().params._id)) {
PomodoroTimer.start();
} else {
......
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