mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix an issue where server foreground/background color was not getting applied after jQuery changes. #5701
This commit is contained in:
@@ -838,7 +838,7 @@ define('pgadmin.browser.node', [
|
||||
`;
|
||||
|
||||
// Prepare dynamic style tag using template
|
||||
document.querySelector(`style[id="${dynamic_class}"]`).remove();
|
||||
document.querySelector(`style[id="${dynamic_class}"]`)?.remove();
|
||||
document.head.appendChild(styleTag);
|
||||
// Add dynamic class to the tree node.
|
||||
pgBrowser.tree.addCssClass(item, dynamic_class);
|
||||
|
||||
Reference in New Issue
Block a user