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 @@