Skip to content

Commit

Permalink
馃悰 suppress scrollActivationWidth when running in an iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Mar 20, 2024
1 parent 9f56e6b commit fb48310
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/template/reveal.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@
{{/enableMenu}}
};

if ( pageInIframe() ) {
defaultOptions.scrollActivationWidth = 5;
}

// options from URL query string
const queryOptions = Reveal().getQueryHash() || {};

Expand Down

0 comments on commit fb48310

Please sign in to comment.