diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 8f67a542b..5e9d0bd6f 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -1521,6 +1521,11 @@ define([ cb(false); stopListening(keyHandler); }); + + window.setTimeout(function () { + if (opt.okClass) { findOKButton().addClass(opt.okClass); } + if (opt.cancelClass) { findCancelButton().addClass(opt.cancelClass); } + }, 0); }; common.log = function (msg) {