Skip to content
Snippets Groups Projects
Unverified Commit 35a89b81 authored by Weilbyte's avatar Weilbyte
Browse files

Change default values

parent 8a720d10
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,8 @@ const swapLogo = async function() {
var node = imgElements[i]
if (node.src.includes('proxmox_logo.png')) {
found = true;
var width = (node.parentElement.clientWidth == undefined || node.parentElement.clientWidth == 0) ? 177 : node.parentElement.clientWidth;
var height = (node.parentElement.clientHeight == undefined || node.parentElement.clientHeight == 0) ? 34 : node.parentElement.clientHeight;
var width = (node.parentElement.clientWidth == undefined || node.parentElement.clientWidth == 0) ? 172 : node.parentElement.clientWidth;
var height = (node.parentElement.clientHeight == undefined || node.parentElement.clientHeight == 0) ? 30 : node.parentElement.clientHeight;
node.parentElement.parentElement.style.background = '#23272A';
node.setAttribute('height', `${height}px`);
node.setAttribute('width', `${width}px`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment