Commit 59967719 authored by ThomasG77's avatar ThomasG77

Update to use stricter verification (!== instead of !=) in if statement

parent 81b9d193
......@@ -243,10 +243,10 @@ L.FormBuilder.Input = L.FormBuilder.Element.extend({
if (this.options.placeholder) {
this.input.placeholder = this.options.placeholder;
}
if (this.options.min != undefined) {
if (this.options.min !== undefined) {
this.input.min = this.options.min;
}
if (this.options.max != undefined) {
if (this.options.max !== undefined) {
this.input.max = this.options.max;
}
if (this.options.step) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment