Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Removed jquery/ui reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Edwin Jacobs committed Dec 10, 2020
1 parent 9041787 commit 7630644
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"description": "Magento 2 module for Tweakwise integration",
"require": {
"php": "^7.1",
"ext-json": "*",
"ext-pcre": "*",
"emico/tweakwise-export": ">=1.4",
"guzzlehttp/guzzle": ">=6.0"
},
Expand All @@ -13,7 +15,7 @@
},
"type": "magento2-module",
"scripts": {
"docheader": "docheader check ./src"
"docheader": "docheader check ."
},
"autoload": {
"files": [
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/templates/product/layered/swatch.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
</div>

<script>
require(["jquery", "jquery/ui", "Magento_Swatches/js/swatch-renderer"], function ($) {
require(["jquery", "Magento_Swatches/js/swatch-renderer"], function ($) {
$('.swatch-layered.<?= /* @escapeNotVerified */ $swatchData['attribute_code'] ?>')
.find('[option-type="1"], [option-type="2"], [option-type="0"], [option-type="3"]')
.SwatchRendererTooltip();
Expand Down

0 comments on commit 7630644

Please sign in to comment.