From 5a9fd6b975d953f93b6f78c14739258689c52daf Mon Sep 17 00:00:00 2001 From: Adrien Maston Date: Mon, 9 Mar 2026 16:38:22 +0100 Subject: [PATCH] Coding style --- app/javascript/initializers/bridge/bridge_element.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/javascript/initializers/bridge/bridge_element.js b/app/javascript/initializers/bridge/bridge_element.js index 954a8f652..6692a8a22 100644 --- a/app/javascript/initializers/bridge/bridge_element.js +++ b/app/javascript/initializers/bridge/bridge_element.js @@ -18,7 +18,7 @@ BridgeElement.prototype.getStamp = function() { } BridgeElement.prototype.getIcon = function() { - const url = this.bridgeAttribute(`icon-url`) + const url = this.bridgeAttribute("icon-url") if (url) { return { url } @@ -28,17 +28,17 @@ BridgeElement.prototype.getIcon = function() { } BridgeElement.prototype.getDate = function() { - return this.bridgeAttribute(`date`) ?? null + return this.bridgeAttribute("date") ?? null } BridgeElement.prototype.getBy = function() { - return this.bridgeAttribute(`by`) ?? null + return this.bridgeAttribute("by") ?? null } BridgeElement.prototype.getDisplayTitle = function() { - return !!this.bridgeAttribute(`display-title`) + return !!this.bridgeAttribute("display-title") } BridgeElement.prototype.getDisplayAsPrimaryAction = function() { - return !!this.bridgeAttribute(`display-as-primary-action`) + return !!this.bridgeAttribute("display-as-primary-action") }