Skip to content

[15 min fix] Used the all browser supported document.body.#13397

Merged
nickytonline merged 2 commits intomasterfrom
nickytonline/15-min-fix-use-document-dot-body
Apr 14, 2021
Merged

[15 min fix] Used the all browser supported document.body.#13397
nickytonline merged 2 commits intomasterfrom
nickytonline/15-min-fix-use-document-dot-body

Conversation

@nickytonline
Copy link
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Tiny refactor I came across while investigating another issue.

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

N/A

UI accessibility concerns?

N/A

Added tests?

  • Yes
  • No, and this is why: Using a different way to get a document's body element, so test updates necessary.
  • I need help with writing tests

[Forem core team only] How will this change be communicated?

Will this PR introduce a change that impacts Forem members or creators, the
development process, or any of our internal teams? If so, please note how you
will share this change with the people who need to know about it.

  • I've updated the Developer Docs and/or
    Admin Guide, or
    Storybook (for Crayons components)
  • I've updated the README or added inline documentation
  • I will share this change in a Changelog
    or in a forem.dev post
  • I will share this change internally with the appropriate teams
  • I'm not sure how best to communicate this change and need help
  • This change does not need to be communicated, and this is why not: please
    replace this line with details on why this change doesn't need to be
    shared

[optional] Are there any post deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

A cartoon character in a milk carton costume saying "There will be a small change"

@nickytonline nickytonline added the tech: javascript changes will heavily involve both JavaScript code label Apr 14, 2021
@nickytonline nickytonline requested review from a team, fdocr, jacobherrington, juliannatetreault and msarit and removed request for a team April 14, 2021 15:22
@pr-triage pr-triage bot added the PR: unreviewed bot applied label for PR's with no review label Apr 14, 2021
@nickytonline nickytonline changed the title Used the all browser supported document.body. [15 min fix] Used the all browser supported document.body. Apr 14, 2021
@pr-triage pr-triage bot added PR: partially-approved bot applied label for PR's where a single reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Apr 14, 2021
Copy link
Contributor

@juliannatetreault juliannatetreault left a comment

Choose a reason for hiding this comment

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

LGTM!

@nickytonline nickytonline requested a review from a team April 14, 2021 22:59
@pr-triage pr-triage bot added PR: unreviewed bot applied label for PR's with no review and removed PR: partially-approved bot applied label for PR's where a single reviewer approves changes labels Apr 14, 2021
@nickytonline nickytonline added the merge by any core This tag is a signal that you are okay with any core team member merging your code for you. label Apr 14, 2021
@pr-triage pr-triage bot added PR: partially-approved bot applied label for PR's where a single reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Apr 14, 2021
@nickytonline nickytonline merged commit de64c3f into master Apr 14, 2021
@nickytonline nickytonline deleted the nickytonline/15-min-fix-use-document-dot-body branch April 14, 2021 23:51
@pr-triage pr-triage bot added PR: merged bot applied label for PR's that are merged and removed PR: partially-approved bot applied label for PR's where a single reviewer approves changes labels Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge by any core This tag is a signal that you are okay with any core team member merging your code for you. PR: merged bot applied label for PR's that are merged tech: javascript changes will heavily involve both JavaScript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants