diff --git a/cms/static/js/index.js b/cms/static/js/index.js index e1c91d03a1..e4470ea22c 100644 --- a/cms/static/js/index.js +++ b/cms/static/js/index.js @@ -141,6 +141,8 @@ define(["domReady", "jquery", "underscore", "js/utils/cancel_on_escape", "js/vie e.preventDefault(); $('.courses-tab').toggleClass('active', tab === 'courses'); $('.libraries-tab').toggleClass('active', tab === 'libraries'); + // Also toggle this course-related notice shown below the course tab, if it is present: + $('.wrapper-creationrights').toggleClass('is-hidden', tab === 'libraries'); }; }; diff --git a/cms/templates/index.html b/cms/templates/index.html index c4ca6e0685..d8fe4389dd 100644 --- a/cms/templates/index.html +++ b/cms/templates/index.html @@ -103,57 +103,57 @@ - %if libraries_enabled: -