Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require(['jquery', 'jquery/ui'],function($){
- $('[data-block="minicart"]').on('contentLoading', function (event) {
- $('[data-block="minicart"]').on('contentUpdated', function () {
- $('html, body').animate({scrollTop:0}, 'slow');
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement