Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
UniProt
Front End
QuickGoFE
Commits
bcfb44b0
Commit
bcfb44b0
authored
Apr 01, 2021
by
Xavier Watkins
Browse files
Cast to string before indexOf
parent
58d42f22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/scripts/app.js
app/scripts/app.js
+1
-1
No files found.
app/scripts/app.js
View file @
bcfb44b0
...
...
@@ -43,7 +43,7 @@ app.run(function($rootScope, dbXrefService, $window) {
};
$rootScope
.
followLinkToEntry
=
function
(
id
,
database
)
{
var
pos
=
id
.
indexOf
(
'
:
'
);
var
pos
=
String
(
id
)
.
indexOf
(
'
:
'
);
if
(
!
database
)
{
if
(
pos
>
0
)
{
...
...
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