Addressing PR comment.
This commit is contained in:
@@ -11,12 +11,7 @@ function HostingSupport1984CopyEmailAddress(e) {
|
||||
.catch(err => console.error("Clipboard write failed:", err));
|
||||
}
|
||||
|
||||
document.querySelector('#hosting-support-1984-link')
|
||||
?.addEventListener('click', HostingSupport1984CopyEmailAddress);
|
||||
|
||||
if (document.querySelector('#hosting-support-1984-link')) {
|
||||
document.querySelector('#hosting-support-1984-link').addEventListener(
|
||||
'click',
|
||||
HostingSupport1984CopyEmailAddress
|
||||
);
|
||||
const hostingSupport1984Link = document.querySelector('#hosting-support-1984-link');
|
||||
if (hostingSupport1984Link) {
|
||||
hostingSupport1984Link.addEventListener('click', HostingSupport1984CopyEmailAddress);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user