Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ℹ️❤️🖥
Explorable-Podcast-Proof-of-Concept
Commits
f3139bda
Commit
f3139bda
authored
Sep 10, 2017
by
i❤computers
Browse files
Forgot to update the transaction time setter function to the new cue data structure.
parent
7ae998e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
script.js
View file @
f3139bda
...
...
@@ -8,9 +8,9 @@ document.addEventListener('DOMContentLoaded', function initializePage() {
if
(
index
+
1
===
transcriptCuesTrack
.
length
)
{
return
;
}
var
cueDuration
=
transcriptCuesTrack
[
index
+
1
]
-
cu
e
;
var
cueDuration
=
transcriptCuesTrack
[
index
+
1
]
.
cueTime
-
cue
.
cueTim
e
;
if
(
cueDuration
<
MAX_TRANSITION_TIME
)
{
$
(
cue_position_selector
(
index
)).
forEach
(
function
(
cueElement
)
{
$
(
cue_position_selector
(
cue
.
cuePositionName
)).
forEach
(
function
(
cueElement
)
{
cueElement
.
style
.
transitionDuration
=
cueDuration
+
"
s
"
;
});
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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