diff --git a/CHANGELOG.md b/CHANGELOG.md index 59aa0dc56f..ad9db667ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Draft +- Fixed image in modal for IE. [#1840](https://github.com/bigcommerce/cornerstone/pull/1840) - Add announcement for filtered resutls on "Shop by Price". [#1854](https://github.com/bigcommerce/cornerstone/pull/1854) - Add Announcement for Reset Filter by Price. [#1858](https://github.com/bigcommerce/cornerstone/pull/1858) - Content should not scroll in two directions when zoomed. [#1853](https://github.com/bigcommerce/cornerstone/pull/1853) diff --git a/assets/js/theme/global.js b/assets/js/theme/global.js index 12407a98b1..09b9ff6c01 100644 --- a/assets/js/theme/global.js +++ b/assets/js/theme/global.js @@ -15,7 +15,6 @@ import adminBar from './global/adminBar'; import carousel from './common/carousel'; import loadingProgressBar from './global/loading-progress-bar'; import svgInjector from './global/svg-injector'; -import objectFitImages from './global/object-fit-polyfill'; export default class Global extends PageManager { onReady() { @@ -36,6 +35,5 @@ export default class Global extends PageManager { } loadingProgressBar(); svgInjector(); - objectFitImages(); } } diff --git a/assets/js/theme/global/object-fit-polyfill.js b/assets/js/theme/global/object-fit-polyfill.js deleted file mode 100644 index 2c652371f7..0000000000 --- a/assets/js/theme/global/object-fit-polyfill.js +++ /dev/null @@ -1,5 +0,0 @@ -import objectFitImages from 'object-fit-images'; - -export default function () { - objectFitImages(); -}