Skip to content

EspoCRM – Open Source CRM Application

cleanup

Yuri Kuznetsov48c2bda53983
diff --git a/client/src/ui.js b/client/src/ui.js
index 5ce142fc15..58e1c30cd1 100644
--- a/client/src/ui.js
+++ b/client/src/ui.js
@@ -411,32 +411,6 @@ class Dialog {
}
}
- /**
- * Hide maximize button.
- *
- * @since 9.1.0
- */
- hideMaximizeButton() {
- if (!this.maximizeButtonElement) {
- return;
- }
-
- this.maximizeButtonElement.classList.add('hidden');
- }
-
- /**
- * Show maximize button.
- *
- * @since 9.1.0
- */
- showMaximizeButton() {
- if (!this.maximizeButtonElement) {
- return;
- }
-
- this.maximizeButtonElement.classList.remove('hidden');
- }
-
/**
* Set action items.
*