Skip to content

Commit

Permalink
chore: Move select2 assets to its own folder
Browse files Browse the repository at this point in the history
  • Loading branch information
brtkwr committed Nov 10, 2023
1 parent 9e3efc1 commit 554aac8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion view/frontend/layout/checkout_index_index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="Two_Gateway::css/style.css"/>
<css src="Two_Gateway::css/select2.min.css"/>
<css src="Two_Gateway::select2-4.1.0/css/select2.min.css"/>
<css src="Two_Gateway::intl-tel-input-18.2.1/css/intlTelInput.min.css"/>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/address-autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ define([
},
enableCompanyAutoComplete: function () {
var self = this;
require(['Two_Gateway/js/select2.min'], function () {
require(['Two_Gateway/select2-4.1.0/js/select2.min'], function () {
$.async(self.companySelector, function (companyNameField) {
var searchLimit = config.companyAutoCompleteConfig.searchLimit;
$(companyNameField)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ define([
},
enableCompanyAutoComplete: function () {
let self = this;
require(['Two_Gateway/js/select2.min'], function () {
require(['Two_Gateway/select2-4.1.0/js/select2.min'], function () {
$.async(self.companyIdSelector, function (companyIdField) {
$(companyIdField).prop('disabled', true);
});
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 554aac8

Please sign in to comment.