Skip to content

Commit

Permalink
Remove unused pack and some broken asset issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihtoprak committed Dec 18, 2021
1 parent 87de34f commit 79dd461
Show file tree
Hide file tree
Showing 1,035 changed files with 16 additions and 68,255 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"require": {
"php": ">=7.1",
"rappasoft/laravel-helpers": "^2.0",
"nesbot/carbon": "^2.55",
"tightenco/collect": "^8.68"
},
"autoload": {
Expand Down
340 changes: 1 addition & 339 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions core/library/Moka_Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public function generateInstallmentsTableHtml($params)
{

$return.='<tr>';
$imagePath = plugins_url( 'moka-woocommerce/assets/img/cards/banks/' );
$imagePath = plugins_url( 'moka-woocommerce-master/assets/img/cards/banks/' );

$return.= '<tr>';
$cardImageSlug = data_get($perStoredInstallment, 'groupName');
Expand Down Expand Up @@ -271,7 +271,7 @@ public function generateInstallmentsTableShortcode()
{

$return.='<tr>';
$imagePath = plugins_url( 'moka-woocommerce/assets/img/cards/banks/' );
$imagePath = plugins_url( 'moka-woocommerce-master/assets/img/cards/banks/' );
$cardImageSlug = data_get($perStoredInstallment, 'groupName');
$cardSymbol = '<img style="width:100px !important;max-width:unset;" src="'.$imagePath.$cardImageSlug.'.svg" />';
if(!$cardImageSlug)
Expand Down
Loading

0 comments on commit 79dd461

Please sign in to comment.