Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Michael Ochmann
trakr.
Commits
20ece194
Commit
20ece194
authored
Jul 15, 2018
by
Michael Ochmann
Browse files
.
parent
e05566d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/javascript/controllers/ViewController.js
View file @
20ece194
...
...
@@ -167,6 +167,7 @@ class ViewController extends UIViewController {
link
.
download
=
`
${
track
.
name
.
toLowerCase
().
replace
(
new
RegExp
(
"
"
,
"
g
"
),
'
_
'
)}
.json`
;
link
.
href
=
blobUrl
;
link
.
click
();
alert
(
"
Download!
"
);
document
.
body
.
removeChild
(
link
);
}
}
...
...
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