Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
5634614e
Commit
5634614e
authored
Aug 05, 2019
by
Thonier Florian
Browse files
segmenter.js; don't use clone ID as default replacment of sequence
Link to
#3945
&
#3960
parent
12f7f950
Pipeline
#89402
failed with stages
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
browser/js/segmenter.js
View file @
5634614e
...
...
@@ -1495,7 +1495,7 @@ Sequence.prototype = Object.create(genSeq.prototype);
str
=
typeof
str
!==
'
undefined
'
?
str
:
this
.
m
.
clone
(
this
.
id
).
sequence
;
if
(
typeof
this
.
m
.
clone
(
this
.
id
).
sequence
==
'
undefined
'
||
this
.
m
.
clone
(
this
.
id
).
sequence
===
0
)
{
str
=
this
.
m
.
clone
(
this
.
id
).
id
str
=
""
// By default don't show ID as sequence if clone haven't sequence content
}
this
.
seq
=
str
.
split
(
""
)
...
...
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