From c939b4951c6b5a9c6b9ba65fec48187081a48976 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 22 Jun 2020 16:23:16 -0400 Subject: [PATCH] add some basic styles to the registration page's confirm buttons --- www/register/main.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/www/register/main.js b/www/register/main.js index d052f88b0..289c40df5 100644 --- a/www/register/main.js +++ b/www/register/main.js @@ -115,8 +115,11 @@ define([ }, { ok: Messages.register_writtenPassword, cancel: Messages.register_cancel, - cancelClass: 'safe', - okClass: 'danger', +/* If we're certain that we aren't using these "*Class" APIs + anywhere else then we can deprecate them and make this a + custom modal in common-interface (or here). */ + cancelClass: 'btn.btn-primary', + okClass: 'btn.btn-danger', reverseOrder: true, done: function ($dialog) { $dialog.find('> div').addClass('half');