summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Pinto Silva <pedro.silva@collabora.com>2022-09-27 15:49:34 +0200
committerGökay ŞATIR <gokaysatir@gmail.com>2022-09-29 10:28:18 +0300
commitf133aa3ab98ccb490cc9165e4dc5dc81e0d29514 (patch)
tree98be909a436c5d9cbe1930217952091d169bff83
parentbrowser: add util function getProduct (diff)
downloadonline-f133aa3ab98ccb490cc9165e4dc5dc81e0d29514.tar.gz
online-f133aa3ab98ccb490cc9165e4dc5dc81e0d29514.zip
Add button-primary to infobar component
The primary button should inherit styles form our common used css class Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: I923ecc58f5456cba226a35b6f9e180346908febe
-rw-r--r--browser/src/control/Control.Infobar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/src/control/Control.Infobar.js b/browser/src/control/Control.Infobar.js
index ba063c4067..6aa8a5e8bc 100644
--- a/browser/src/control/Control.Infobar.js
+++ b/browser/src/control/Control.Infobar.js
@@ -17,7 +17,7 @@ L.Control.Infobar = L.Control.extend({
var buttons = [];
var callback = function() {};
if (e.actionLabel && e.action) {
- buttons.push($.extend({}, vex.dialog.buttons.YES, { text: e.actionLabel }));
+ buttons.push($.extend({}, vex.dialog.buttons.YES, { text: e.actionLabel, className: 'button-primary'}));
callback = function (value) {
if (value === false) // close btn clicked
return;