Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jensen
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Skye Yu
jensen
Commits
3e68e866
Commit
3e68e866
authored
Dec 04, 2024
by
Skye Yu
Committed by
Skye Yu
Dec 04, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Remove audiu element when download finished.
(cherry picked from commit
808b38c3
)
parent
003227e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
jensen.js
src/jensen.js
+1
-1
No files found.
src/jensen.js
View file @
3e68e866
...
@@ -738,7 +738,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
...
@@ -738,7 +738,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
function
clearEventAndTask
()
{
function
clearEventAndTask
()
{
const
audio
=
document
.
getElementById
(
'test_audio'
);
const
audio
=
document
.
getElementById
(
'test_audio'
);
audio
&&
audio
.
pause
()
&&
audio
.
remove
();
audio
&&
audio
.
remove
();
wakeLock
&&
wakeLock
.
release
();
wakeLock
&&
wakeLock
.
release
();
console
.
log
(
'Clear event and task.'
);
console
.
log
(
'Clear event and task.'
);
}
}
...
...
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