Skip to content

Commit

Permalink
Resolve iframe framing issues (#3753)
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb authored Aug 29, 2024
1 parent 4504893 commit 09af695
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/static/js/almanac.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,8 @@ function upgradeInteractiveFigures() {
iframe.setAttribute('scrolling', fig_img.dataset.scrolling || 'no');
iframe.setAttribute('loading', fig_img.dataset.loading || 'lazy');
iframe.setAttribute('src', fig_img.dataset.iframe);
// Set it to credentialless to avoid issues when it tries to embed the login screen
iframe.setAttribute('credentialless', true);

//The figure should have a link
var parentLink = fig_img.parentNode;
Expand Down

0 comments on commit 09af695

Please sign in to comment.