19 lines
612 B
JavaScript
19 lines
612 B
JavaScript
var parentDiv = document.getElementById('notifications-placeholder');
|
|
if (parentDiv) {
|
|
parentDiv.style.display = 'none';
|
|
}
|
|
|
|
var handleHideSecondDayEmailNotification = setInterval(function () {
|
|
var elements = document.getElementsByName('ext-galileo-notification-secondDayEmailNotification_email');
|
|
if (elements.length === 1) {
|
|
var trElement = elements[0].closest("tr");
|
|
if (trElement) {
|
|
trElement.style.display = 'none';
|
|
}
|
|
}
|
|
if (parentDiv) {
|
|
parentDiv.style.display = 'block';
|
|
}
|
|
clearInterval(handleHideSecondDayEmailNotification);
|
|
}, 100);
|