Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
eigenlab
Leaflet.FormBuilder
Commits
59967719
Commit
59967719
authored
Jun 19, 2015
by
ThomasG77
Browse files
Update to use stricter verification (!== instead of !=) in if statement
parent
81b9d193
Changes
1
Hide whitespace changes
Inline
Side-by-side
Leaflet.FormBuilder.js
View file @
59967719
...
@@ -243,10 +243,10 @@ L.FormBuilder.Input = L.FormBuilder.Element.extend({
...
@@ -243,10 +243,10 @@ L.FormBuilder.Input = L.FormBuilder.Element.extend({
if
(
this
.
options
.
placeholder
)
{
if
(
this
.
options
.
placeholder
)
{
this
.
input
.
placeholder
=
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
;
this
.
input
.
min
=
this
.
options
.
min
;
}
}
if
(
this
.
options
.
max
!=
undefined
)
{
if
(
this
.
options
.
max
!=
=
undefined
)
{
this
.
input
.
max
=
this
.
options
.
max
;
this
.
input
.
max
=
this
.
options
.
max
;
}
}
if
(
this
.
options
.
step
)
{
if
(
this
.
options
.
step
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment