Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
embl.org
html-sites
embl-jobs-pages
Commits
d4db1963
Commit
d4db1963
authored
May 14, 2021
by
Ken Hawkins
Browse files
wrapping div to help react track the location of the inserted html
Fixes
#4
parent
582d3b8a
Pipeline
#156031
passed with stages
in 7 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
src/components/EmblFooter.jsx
src/components/EmblFooter.jsx
+9
-6
No files found.
src/components/EmblFooter.jsx
View file @
d4db1963
...
...
@@ -9,12 +9,15 @@ export class EmblFooter extends React.Component {
}
render
()
{
return
(
<
link
rel
=
"import"
href
=
"https://www.embl.org/api/v1/pattern.html?filter-content-type=article&filter-id=569&pattern=node-body&source=contenthub"
data
-
target
=
"self"
data
-
embl
-
js
-
content
-
hub
-
loader
/>
<
div
>
{
/* wrapping div to help react track the location of the inserted html */
}
<
link
rel
=
"import"
href
=
"https://www.embl.org/api/v1/pattern.html?filter-content-type=article&filter-id=569&pattern=node-body&source=contenthub"
data
-
target
=
"self"
data
-
embl
-
js
-
content
-
hub
-
loader
/>
</
div
>
);
}
}
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