diff --git a/content/content-tool/tool/src/webapp/js/content.js b/content/content-tool/tool/src/webapp/js/content.js index ba60cf665dbb..043b076cd8fc 100644 --- a/content/content-tool/tool/src/webapp/js/content.js +++ b/content/content-tool/tool/src/webapp/js/content.js @@ -319,7 +319,7 @@ var setupColumnToggle = function(){ // hides columns and sets the checkbox values $.each(data, function(key, value){ if (value === 'false' || value === false) { - $('.' + key).hide(); + $('.' + key).removeClass('d-md-table-cell').addClass('d-none'); $('#' + key + 'Tog').find('input').attr('checked', false); } else { @@ -415,10 +415,10 @@ var setupColumnToggle = function(){ var target = $(this).closest('span').attr('id').replace('Tog', ''); e.stopPropagation(); if ($(this).prop('checked') === true) { - $('.' + target).show(); + $('.' + target).removeClass('d-none').addClass('d-md-table-cell'); } else { - $('.' + target).hide(); + $('.' + target).removeClass('d-md-table-cell').addClass('d-none'); } massageColWidths(); }); diff --git a/content/content-tool/tool/src/webapp/vm/content/sakai_resources_list.vm b/content/content-tool/tool/src/webapp/vm/content/sakai_resources_list.vm index 891c63d507c8..9297f3629f5a 100644 --- a/content/content-tool/tool/src/webapp/vm/content/sakai_resources_list.vm +++ b/content/content-tool/tool/src/webapp/vm/content/sakai_resources_list.vm @@ -193,7 +193,7 @@ #end #end -