Skip to content

Commit

Permalink
fix: helpers.getBootstrapColumnValue return value is an int, no need …
Browse files Browse the repository at this point in the history
…to parseInt on int
  • Loading branch information
lucasnetau committed Oct 4, 2023
1 parent c8b9889 commit 8caa6a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/form-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1946,9 +1946,9 @@ function FormBuilder(opts, element, $) {

let nextColSize
if (e.originalEvent.wheelDelta / 120 > 0) {
nextColSize = parseInt(currentColValue) + 1
nextColSize = currentColValue + 1
} else {
nextColSize = parseInt(currentColValue) - 1
nextColSize = currentColValue - 1
}

if (nextColSize > 12) {
Expand Down

0 comments on commit 8caa6a2

Please sign in to comment.