Add URL as tooltip

This commit is contained in:
Raymond Hill 2021-01-07 08:19:02 -05:00
parent 6dfdac6719
commit 1fcc3c6ddc
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,8 @@ const frameURLElem = document.getElementById('frameURL');
frameURLElem.children[0].textContent = frameURL;
frameURLElem.children[1].href = frameURL;
document.body.setAttribute('title', frameURL);
const onWindowResize = function() {
document.body.style.width = `${self.innerWidth}px`;
document.body.style.height = `${self.innerHeight}px`;