Browse Source

Fix smart values white background - #29

pull/32/head
Weilbyte 4 years ago
committed by GitHub
parent
commit
2f37f0fea1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      PVEDiscordDark/js/PVEDiscordDark.js

5
PVEDiscordDark/js/PVEDiscordDark.js

@ -41,7 +41,8 @@ function patchBackupConfig() {
};
function patchDiskSmartWindow() {
PVE.DiskSmartWindow.prototype.items[1].style['background-color'] = '#23272a';
const target = PVE.DiskSmartWindow || Proxmox.window.DiskSmart;
target.prototype.items[1].style['background-color'] = '#23272a';
}
function patchTFAEdit() {
@ -185,4 +186,4 @@ patchDiskSmartWindow();
patchTFAEdit();
patchSummary();
patchSubscription();
console.log('PVEDiscordDark :: Patched');
console.log('PVEDiscordDark :: Patched');

Loading…
Cancel
Save