diff --git a/static/js/tabber.js b/static/js/tabber.js index cad12b1aa..38fb43578 100644 --- a/static/js/tabber.js +++ b/static/js/tabber.js @@ -80,9 +80,11 @@ }; - // apply plugin to all available tab-groups - $('.tab-group').each(function(i, t) { - $(t).tabgroup(); - }) + // apply plugin to all available tab-groups if on wide screen + if (window.innerWidth > 768) { + $('.tab-group').each(function(i, t) { + $(t).tabgroup(); + }); + } }); })($); diff --git a/templates/course.hamlet b/templates/course.hamlet index f652a33b5..d8f1fd5f7 100644 --- a/templates/course.hamlet +++ b/templates/course.hamlet @@ -66,9 +66,6 @@ Do 15.04.18 Do 18.04.18 NotGraded - - - Neues Übungsblatt anlegen

Übungsgruppen diff --git a/templates/widgets/asidenav.hamlet b/templates/widgets/asidenav.hamlet index cd00430be..2ab729e25 100644 --- a/templates/widgets/asidenav.hamlet +++ b/templates/widgets/asidenav.hamlet @@ -17,7 +17,8 @@ $newline never WiSe 17/18
    $forall (Course{..}, courseRoute, pageActions) <- favourites -
  • + $# TODO: this list-item should also be marked as active if one of its children is shown +
  • #{courseShorthand}
    #{courseName}