diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 1f2941f34..f1c321f19 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -1520,6 +1520,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) {