Commit 2aee2a7d by Matt Tuchfarber

Remove old JS

parent 2f87abd7
......@@ -3,18 +3,4 @@ function playVideo(src) {
document.querySelector('#program_video button').style = 'display:none;';
document.querySelector('#program_video iframe').style = 'display:block;';
document.querySelector('#program_video iframe').src = src;
}
function toggleBio(currentEl, bioHash) {
'use strict';
var button = currentEl;
var bioId = 'instructor-bio-' + bioHash;
var bio = document.getElementById(bioId);
var hidden = bio.classList.contains('hidden');
if (hidden) {
bio.classList.remove('hidden');
button.innerHTML = 'Hide Bio';
} else {
bio.classList.add('hidden');
button.innerHTML = 'View Bio';
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment