Skip to content

Commit

Permalink
Remove return mistakenly left in polyfill test
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpayton committed Jul 24, 2018
1 parent 5be6726 commit 72f1a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function gutenberg_register_scripts_and_styles() {
gutenberg_get_script_polyfill( array(
'document.contains' => 'wp-polyfill-node-contains',
'"DOMRect" in this && ( function( DOMRect ) {' .
'try { return new DOMRect(); return true; }' .
'try { new DOMRect(); return true; }' .
'catch ( e ) { return false; }' .
'}( this.DOMRect ) )' => 'wp-polyfill-dom-rect',
) ),
Expand Down

0 comments on commit 72f1a02

Please sign in to comment.