Skip to content

Commit

Permalink
minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Hurlyburly2 committed May 8, 2020
1 parent 470b94e commit fc82ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/assets/javascripts/top_containers.bulk.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ BulkContainerSearch.prototype.setup_table_sorter = function() {
return value
}

let isNumber = isNaN(parseInt(value[0])) ? false : true
let isNumber = !isNaN(parseInt(value[0]))

let valueArray = [value[0]]
let valueArrayCurrentIndex = 0;
Expand Down

0 comments on commit fc82ecd

Please sign in to comment.