Skip to content

Commit

Permalink
Update lib/experimental/modules/class-gutenberg-modules.php
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
  • Loading branch information
gziolo and felixarntz committed Jan 4, 2024
1 parent 1843b3f commit 8f5e260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/experimental/modules/class-gutenberg-modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static function print_module_preloads() {
* import maps (https://github.com/guybedford/es-module-shims/issues/406).
*/
public static function print_import_map_polyfill() {
$test = 'HTMLScriptElement.supports?.("importmap")';
$test = 'HTMLScriptElement.supports && HTMLScriptElement.supports("importmap")';
$src = gutenberg_url( '/build/modules/importmap-polyfill.min.js' );

echo (
Expand Down

0 comments on commit 8f5e260

Please sign in to comment.