Skip to content

Conversation

@abutterworth
Copy link
Contributor

@abutterworth abutterworth commented Jan 29, 2020

</nav>
% endif

<script type="text/javascript">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not consolidate this with the earlier iframe check? Appending the <base> tag can happen here, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can, I just thought repeating myself to keep the functionality isolated would be good. Also it's worth noting that the base tag script needs to be in the head. Not a strong reason though. Let me know if you prefer combining them.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put it at the bottom originally so that most of the page would be loaded by the time it ran. It may not be important, but keeping it there may cut down on events as things resize and fill in during load.

@edx-status-bot
Copy link

Your PR has finished running tests. There were no failures.

@abutterworth abutterworth merged commit 59bb664 into master Jan 29, 2020
@abutterworth abutterworth deleted the abutterworth/resize-vertical-block-iframe branch January 29, 2020 17:44
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants