Skip to content

Commit

Permalink
#44 inconsequential cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Quicksaver committed Dec 21, 2017
1 parent e58f670 commit 9709a02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/Besugo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export default class BesugoComponent extends React.Component {
// .styles - (arr [str]) array of stylesheets, both internal and external, to be loaded into the CMS page
static get config() { return {}; }

// Any props required by the component that are not attributes in the placholder should be fetched here,
// Any props required by the component that are not attributes in the placeholder should be fetched here,
// for example any info contained within the placeholder's children and/or their contents as stringified JSON.
static extraProps() {}

Expand Down
2 changes: 1 addition & 1 deletion components/partials/TopHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default class TopHeader extends BesugoComponent {

setListeners(mounted) {
const method = (mounted) ? 'addEventListener' : 'removeEventListener';
const win = this.view().then((win) => {
this.view().then((win) => {
win[method]("resize", this);

// We can only catch these in the capture phase in the iframe from the CMS preview.
Expand Down

0 comments on commit 9709a02

Please sign in to comment.