Skip to content

Commit

Permalink
Do not include referrer for jbrowse iframe, and address linting warni…
Browse files Browse the repository at this point in the history
…ngs (#1225)
  • Loading branch information
dmfalke authored Oct 10, 2024
1 parent 5c8f762 commit 8dd51c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/libs/web-common/src/components/JbrowseIframe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ export function JbrowseIframe(props: Props) {
</div>
<iframe
key={'jbrowse-iframe-' + counter}
referrerPolicy="no-referrer"
onLoad={onLoad}
src={jbrowseUrl + '&tracklist=0&nav=1&overview=0&fullviewlink=0&menu=0'}
width="100%"
height={height}
scrolling="no"
allowFullScreen={false}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ export default function Jbrowse(props: Props) {

return (
<iframe
title="JBrowse"
referrerPolicy="no-referrer"
onLoad={onLoad}
id="jbrowse_iframe"
src={props.src}
width="100%"
height="100%"
scrolling="no"
allowFullScreen
></iframe>
);
Expand Down

0 comments on commit 8dd51c1

Please sign in to comment.