Skip to content

Commit

Permalink
Set p54 sidebar to FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
mcc-us committed Aug 26, 2024
1 parent d7b4eb2 commit 0fcc19e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions _others/p54.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,18 @@ title: p54.pdf
<iframe src="/irs.ea/assets/pdfs/p54.pdf" height="600" width="90%" allowFullScreen="true">
</iframe>
</div>
<script>
// Get the iframe element
var iframe = document.querySelector('iframe');

// Set the sidebar property to false
iframe.contentWindow.postMessage({
type: 'command',
payload: {
command: 'sidebar',
params: {
enabled: false
}
}
}, '*');
</script>

0 comments on commit 0fcc19e

Please sign in to comment.