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
dd0bfceb
Commit
dd0bfceb
authored
Dec 20, 2017
by
Tomas Pettersson
🏸
Browse files
bugfix open
parent
254fb4ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/cards.ts
View file @
dd0bfceb
...
...
@@ -1319,7 +1319,7 @@ module STWkit {
public
open
(
geojson
)
{
var
self
=
this
;
if
(
geojson
.
features
[
0
].
properties
.
type
==
self
.
type
&&
(
self
.
subtype
.
search
(
geojson
.
features
[
0
].
properties
.
subtype
))
>=
0
)
{
if
(
geojson
.
features
[
0
].
properties
.
type
==
self
.
type
&&
(
self
.
subtype
.
indexOf
(
geojson
.
features
[
0
].
properties
.
subtype
))
>=
0
)
{
self
.
clear
();
for
(
var
i
in
self
.
cardMap
)
{
if
(
self
.
cardMap
.
hasOwnProperty
(
i
))
{
...
...
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