Rename Big Blue Button (or Adobe Connect) back to Conferences after deployment on 8-4-21

Jump to solution
kimhuang
Community Participant

Here is the code snippet which we intend to use:

$(".conferences").html("Conferences");
 
Including this piece of code in Custom Java Script file by 
(Admin privilage->Themes->upload->viewfile->open text editor->include the above line->save->back to Themes Editor->select the saved Java Script file->preview->save the theme-> done)
 
It is a System-Wide change, will affect the navigation bar for every course.
 
Just a FYI. Welcome any comment.
 
Best,
-Kim
0 Likes
1 Solution
kimhuang
Community Participant
Author

Here is the final version that I used:

(function(){
const conferences = document.querySelector('#section-tabs .conferences');
if (conferences.title === "Disabled. Not visible to students") {
conferences.innerHTML = 'Conferences<i class="nav-icon icon-off" aria-hidden="true" role="presentation"></i></a>';
} else {
conferences.innerHTML = 'Conferences';
}
})();

View solution in original post