From ba97a3ea9f305fd7bd481f308cf7d98934df6d91 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 31 Aug 2023 19:09:41 +0300 Subject: [PATCH] Refactoring --- apps/pdfeditor/main/app/controller/Toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/pdfeditor/main/app/controller/Toolbar.js b/apps/pdfeditor/main/app/controller/Toolbar.js index df326144c6..0b03d2da6a 100644 --- a/apps/pdfeditor/main/app/controller/Toolbar.js +++ b/apps/pdfeditor/main/app/controller/Toolbar.js @@ -375,7 +375,7 @@ define([ mode = toolbar.mode; if (!mode.isPDFAnnotate && !mode.isPDFEdit) { Common.UI.warning({ - width: 500, + maxwidth: 500, msg: (mode.canPDFAnnotate || mode.canPDFEdit) ? this.txtNeedCommentMode : this.txtNeedDownload, callback: function(btn) { Common.NotificationCenter.trigger('edit:complete', toolbar);