button.classList.remove('class');
const button = document.querySelector('#button');
button.addEventListener('click', function () {
button.classList.remove('class');
});
const button = document.querySelector('#button');
button.addEventListener('click', function () {
if (button.classList.contains('class')) {
button.classList.remove('class');
} else {
button.classList.add('class');
}
});
const button = document.querySelector('#button');
button.addEventListener('click', function () {
button.classList.toggle('class');
});
function closePopup(selector) {
const popup = document.querySelector(selector);
popup.classList.add('hidden');
}
window.addEventListener('scroll', function() {
closePopup('#open-pop');
});
[root@localhost ~]# ss -tulpn | grep :25
tcp LISTEN 0 100 *:25 *:* users:(("master",pid=69288,fd=13))
tcp LISTEN 0 100 [::]:25 [::]:* users:(("master",pid=69288,fd=14))