Skip to content

Commit

Permalink
Fixes #1640 pass W3C validation
Browse files Browse the repository at this point in the history
  • Loading branch information
androshchuk committed Dec 16, 2019
1 parent 12f25cc commit 7a66f99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ $helper = $this->helper('Magento\Search\Helper\Data');
role="combobox"
aria-haspopup="false"
aria-autocomplete="both"
aria-expanded="false"
autocomplete="off"
data-block="autocomplete-form"/>
<div id="search_autocomplete" class="search-autocomplete"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<?php /** @var $block Smile\ElasticsuiteTracker\Block\Config **/ ?>
<?php $jsonHelper = $block->getJsonHelper(); ?>
<?php if ($block->isEnabled()) : ?>
<script type="text/javascript">
<script>
//<![CDATA[
try {
smileTracker.setConfig({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<?php $variables = $block->getVariables(); ?>

<?php if ($block->isEnabled() && !empty($variables)) : ?>
<script type="text/javascript">
<script>
<!--
try {
<?php foreach ($variables as $varName => $value) : ?>
Expand Down

0 comments on commit 7a66f99

Please sign in to comment.