Skip to content

Commit 4781da8

Browse files
Stanislav Idolovvklymenko
authored andcommitted
MAGETWO-59211: [Backport] - [Github] Minicart item count is not updated if switch from https to http #6487 - for 2.0
- MAGETWO-58182: [Github] Minicart item count is not updated if switch from https to http #6487
1 parent 6132d84 commit 4781da8

File tree

1 file changed

+1
-4
lines changed
  • app/code/Magento/Theme/view/frontend/web/js/view

1 file changed

+1
-4
lines changed

app/code/Magento/Theme/view/frontend/web/js/view/messages.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ define([
3030
customerData.set('messages', {});
3131
}
3232

33-
$.cookieStorage.setConf({
34-
path: '/',
35-
expires: -1
36-
}).set('mage-messages', null);
33+
$.cookieStorage.set('mage-messages', '');
3734
}
3835
});
3936
});

0 commit comments

Comments
 (0)