From 70853ef7d35613f6757fd7db4daa823a4b3d2314 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20=C5=A0vara?= Date: Thu, 8 Jan 2026 16:44:07 +0100 Subject: [PATCH] Drop label from bridge button. --- app/javascript/initializers/bridge/bridge_element.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/javascript/initializers/bridge/bridge_element.js b/app/javascript/initializers/bridge/bridge_element.js index 471ab1aaa..1b5650e89 100644 --- a/app/javascript/initializers/bridge/bridge_element.js +++ b/app/javascript/initializers/bridge/bridge_element.js @@ -15,8 +15,7 @@ BridgeElement.prototype.hideOnPlatform = function() { BridgeElement.prototype.getButton = function() { return { title: this.title, - icon: this.getIcon(), - label: this.getLabel() + icon: this.getIcon() } } @@ -31,9 +30,6 @@ BridgeElement.prototype.getIcon = function() { return null } -BridgeElement.prototype.getLabel = function() { - return this.bridgeAttribute("label") -} BridgeElement.prototype.displaysNavButtonMenu = function() { return this.bridgeAttribute("displays-nav-button-menu") === "true"