Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Sep 11, 2024
1 parent 6847780 commit eba88f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/google/maps/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default async function ( key, { language, libraries } = {} ) {
googleMapScript.setAttribute( "src", url );
googleMapScript.setAttribute( "async", "" );
googleMapScript.setAttribute( "defer", "" );
document.body.appendChild( googleMapScript );
document.body.append( googleMapScript );
}

const promise = new Promise( resolve => PROMISES.push( resolve ) );
Expand Down
4 changes: 2 additions & 2 deletions src/components/pdf/_panel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export default {
}

var placeholder = document.createElement( "div" );
container.appendChild( placeholder );
container.append( placeholder );

// create canvas
var canvas = document.createElement( "canvas" );
Expand All @@ -292,7 +292,7 @@ export default {
var renderTask = page.render( renderContext );

renderTask.promise.then( function () {
placeholder.appendChild( canvas );
placeholder.append( canvas );
} );

this.pdfPages.push( {
Expand Down

0 comments on commit eba88f7

Please sign in to comment.