Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
stw
stwkit
Commits
0fd6e5be
Commit
0fd6e5be
authored
Nov 30, 2017
by
Tomas Pettersson
🏸
Browse files
made linebutton default if only available
parent
872b1259
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
src/components/cards.js
View file @
0fd6e5be
...
...
@@ -364,6 +364,8 @@ var STWkit;
self
.
pointButton
.
click
();
else
if
(
document
.
body
.
contains
(
self
.
circleButton
)
&&
self
.
circleButton
.
style
.
display
!=
'
none
'
)
self
.
circleButton
.
click
();
else
if
(
document
.
body
.
contains
(
self
.
lineButton
)
&&
self
.
lineButton
.
style
.
display
!=
'
none
'
)
self
.
lineButton
.
click
();
};
LocationCard
.
prototype
.
populateCard
=
function
(
geojson
)
{
var
self
=
this
;
...
...
src/components/cards.js.map
View file @
0fd6e5be
This diff is collapsed.
Click to expand it.
src/components/cards.ts
View file @
0fd6e5be
...
...
@@ -392,6 +392,8 @@ module STWkit {
var
self
=
this
;
if
(
document
.
body
.
contains
(
self
.
pointButton
)
&&
self
.
pointButton
.
style
.
display
!=
'
none
'
)
self
.
pointButton
.
click
();
else
if
(
document
.
body
.
contains
(
self
.
circleButton
)
&&
self
.
circleButton
.
style
.
display
!=
'
none
'
)
self
.
circleButton
.
click
();
else
if
(
document
.
body
.
contains
(
self
.
lineButton
)
&&
self
.
lineButton
.
style
.
display
!=
'
none
'
)
self
.
lineButton
.
click
();
}
public
populateCard
(
geojson
)
{
...
...
Write
Preview
Supports
Markdown
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