From 492aeefb357ab55c8ac8373c8158cd1cceb7f006 Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Tue, 15 Mar 2016 15:05:33 +0200 Subject: [PATCH] Story#113524121 - typo in file size validation --- app/assets/javascripts/registrar/application.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/registrar/application.coffee b/app/assets/javascripts/registrar/application.coffee index 12a0f9d96..9c7dfec03 100644 --- a/app/assets/javascripts/registrar/application.coffee +++ b/app/assets/javascripts/registrar/application.coffee @@ -35,7 +35,7 @@ $(document).on 'page:change', -> if (files = fileInput.files).length fileSize = files[0].size if fileSize < minSize - alert 'Document size is less then 100kB bytes' + alert 'Document size is less then 8kB bytes' return false else if fileSize > maxSize alert 'Document size is more then 8MB bytes'