Browse Source

Add TFAEdit undefined check

pull/106/head
Weilbyte 3 years ago
parent
commit
3dcb5cfe9e
No known key found for this signature in database GPG Key ID: E1EB2BFCF73B5B9F
  1. 2
      PVEDiscordDark/js/PVEDiscordDark.js

2
PVEDiscordDark/js/PVEDiscordDark.js

@ -53,7 +53,7 @@ function patchDiskSmartWindow() {
}
function patchTFAEdit() {
PVE.window.TFAEdit.prototype.items[0].items[0].items[1].style["background-color"] = 'transparent';
if (PVE.window.TFAEdit) PVE.window.TFAEdit.prototype.items[0].items[0].items[1].style["background-color"] = 'transparent';
}
function patchCreateWidget() {

Loading…
Cancel
Save