Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit fb215de

Browse files
author
Jenkins Continuous Integration Server
committed
Merge commit '5563c220db4164fdc6d7b75656a5dad33d7bd475' into HEAD
2 parents 5b2ac25 + 5563c22 commit fb215de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/directives/tc-file-input/tc-file-input.directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import _ from 'lodash'
4949
}
5050

5151
var fileSize = file.size
52-
var isAllowedFileSize = fileSize < '500000000'
52+
var isAllowedFileSize = fileSize < '524288000'
5353

5454
var selectedFileType = file.type.slice(file.type.lastIndexOf('/') + 1)
5555
var isAllowedFileFormat = _.some(fileTypes, _.matches(selectedFileType))

app/directives/tc-file-input/tc-file-input.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ describe('Topcoder File Input Directive', function() {
163163

164164
describe('with a file that\'s greater than 500MB', function() {
165165
beforeEach(function() {
166-
fileList[0].size = 500000001
166+
fileList[0].size = 524288001
167167

168168
$(fileInput).triggerHandler({
169169
type: 'change',

0 commit comments

Comments
 (0)