Skip to content

Commit

Permalink
small code style change
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Sep 14, 2018
1 parent 0b58955 commit 904f010
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/list-reusable-blocks/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ document.body.addEventListener( 'click', ( event ) => {
} );

// Setup Import Form
document.addEventListener( 'DOMContentLoaded', function() {
document.addEventListener( 'DOMContentLoaded', () => {
const button = document.querySelector( '.page-title-action' );
if ( ! button ) {
return;
Expand All @@ -29,7 +29,7 @@ document.addEventListener( 'DOMContentLoaded', function() {
const showNotice = () => {
const notice = document.createElement( 'div' );
notice.className = 'notice notice-success is-dismissible';
notice.innerHTML = `<p>${ __( 'Reusable block imported with success!' ) }</p>`;
notice.innerHTML = `<p>${ __( 'Reusable block imported successfully!' ) }</p>`;

const headerEnd = document.querySelector( '.wp-header-end' );
if ( ! headerEnd ) {
Expand Down

0 comments on commit 904f010

Please sign in to comment.