Skip to content

Commit f54c4bf

Browse files
author
Serhii Balko
committed
MC-41474: Cookie message displaying at header when new page loads
1 parent 6020e8a commit f54c4bf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/code/Magento/Theme/view/frontend/templates/js/cookie_status.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
* See COPYING.txt for license details.
55
*/
66
/**
7-
* @var Magento\Framework\View\Element\Template $this
7+
* @var Magento\Framework\View\Element\Template $block
88
*/
99
?>
1010

11-
<div id="cookie-status">
12-
<?= $this->escapeHtml(__('The store will not work correctly in the case when cookies are disabled.')); ?>
11+
<div class="cookie-status-message" id="cookie-status">
12+
<?= $block->escapeHtml(__('The store will not work correctly in the case when cookies are disabled.')); ?>
1313
</div>
1414
<script type="text/x-magento-init">
1515
{

app/design/frontend/Magento/blank/Magento_Theme/web/css/source/_module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
}
287287
}
288288

289-
#cookie-status {
289+
.cookie-status-message {
290290
display: none;
291291
}
292292
}

app/design/frontend/Magento/luma/Magento_Theme/web/css/source/_module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@
394394
padding: 10px;
395395
}
396396

397-
#cookie-status {
397+
.cookie-status-message {
398398
display: none;
399399
}
400400
}

0 commit comments

Comments
 (0)