Hide registrations available in form

12359490-1

by jelane20

JavaScript

//Removes the max registration count from the registration page 12354093-1
var EDITURL = window.location.href;
if (EDITURL.indexOf("reg_new/register.asp?") > -1) {
$($('form#registrationForm table tbody tr td table tbody tr td table tbody tr td table tbody tr td:contains("Run on the Upper") br:last')[0].nextSibling).wrap('<span id="avail">');
$('#avail').hide();
};