Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
piks3l
Respect My Net
Commits
b601dae3
Commit
b601dae3
authored
Feb 15, 2016
by
Okhin
Browse files
Mpas are now responsive #21
parent
72fd6fa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
nnmon/media/js/map.js
View file @
b601dae3
...
...
@@ -48,6 +48,7 @@ $(document).ready(function() {
'
</div>
'
].
join
(
''
)
}
},
responsive
:
true
;
done
:
function
(
datamap
)
{
datamap
.
svg
.
selectAll
(
'
.datamaps-subunit
'
).
on
(
'
click
'
,
function
(
geography
)
{
window
.
location
=
'
/list/
'
+
geography
.
id
+
"
/
"
;
...
...
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