Skip to content

Commit

Permalink
fix: remove document fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Dec 25, 2023
1 parent eb4a41a commit 13dae38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/components/g-map/control.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default class Control extends MapComponent {
id = `ember-google-maps-control-${guidFor(this)}`;

@tracked
container = window?.document?.createDocumentFragment();
container = window?.document?.createElement('div');

// Keep track of the current control position so that it can be removed on
// teardown
Expand Down
2 changes: 1 addition & 1 deletion addon/components/g-map/overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class OverlayView extends MapComponent {
id = `ember-google-maps-overlay-${guidFor(this)}`;

@tracked
container = window?.document?.createDocumentFragment();
container = window?.document?.createElement('div');

get name() {
return 'overlays';
Expand Down

0 comments on commit 13dae38

Please sign in to comment.