Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DariaUshaeva/29d1af6d458e3d855773a6d4a9576063 to your computer and use it in GitHub Desktop.
Save DariaUshaeva/29d1af6d458e3d855773a6d4a9576063 to your computer and use it in GitHub Desktop.
diff --git a/js/core/src/core/Tygh/core_methods.js b/js/core/src/core/Tygh/core_methods.js
index d450222cba..16f8f24c98 100644
--- a/js/core/src/core/Tygh/core_methods.js
+++ b/js/core/src/core/Tygh/core_methods.js
@@ -1116,10 +1116,6 @@ export const runCart = function(area)
}
});
- if (!!window.performance && window.performance.navigation.type === 2) {
- window.location.reload();
- }
-
// Init history
$.ceHistory('init');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment