diff --git a/htdocs/js/System/system.js b/htdocs/js/System/system.js index 634f07a87c..4b32aca942 100644 --- a/htdocs/js/System/system.js +++ b/htdocs/js/System/system.js @@ -74,7 +74,8 @@ // FIXME: These are really general purpose tooltips and not just in the homework sets editor. So the class name // should be chosen to better reflect this. document.querySelectorAll('.set-id-tooltip').forEach((el) => { - if (el.dataset.bsTitle) new bootstrap.Tooltip(el, { fallbackPlacements: [] }); + if (el.dataset.bsTitle) + new bootstrap.Tooltip(el, { fallbackPlacements: el.dataset.fallbackPlacements?.split(' ') || [] }); }); // Hardcopy tooltips shown on the Problem Sets page. diff --git a/templates/ContentGenerator/ProblemSets/set_list_row.html.ep b/templates/ContentGenerator/ProblemSets/set_list_row.html.ep index 1e1d7f13a2..9e9852a58f 100644 --- a/templates/ContentGenerator/ProblemSets/set_list_row.html.ep +++ b/templates/ContentGenerator/ProblemSets/set_list_row.html.ep @@ -17,9 +17,16 @@