Skip to content

Commit

Permalink
Fix import safari (#219)
Browse files Browse the repository at this point in the history
* Disable bfcache

* Update scripts.js
  • Loading branch information
fnhipster authored Nov 27, 2024
1 parent d6dfdae commit f9dbb14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async function loadEager(doc) {
pageType = 'Product';

// initialize pdp
import('./initializers/pdp.js');
await import('./initializers/pdp.js');

// Preload PDP Dropins assets
preloadFile('/scripts/__dropins__/storefront-pdp/api.js', 'script');
Expand Down

0 comments on commit f9dbb14

Please sign in to comment.