Skip to content

Commit

Permalink
Fix highlighting links
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Apr 23, 2024
1 parent 8681e78 commit 93b6e7d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes for Plugin Sales

## 3.0.1 - 2024-04-23

### Fixed

- Fixed the highlighting of links.

## 3.0.0 - 2024-04-08

### Added
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "putyourlightson/craft-plugin-sales",
"description": "Your Craft CMS plugin sales visualised in the control panel.",
"version": "3.0.0",
"version": "3.0.1",
"type": "craft-plugin",
"homepage": "https://putyourlightson.com/plugins/plugin-sales",
"license": "proprietary",
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_components/customers.twig
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
{% for customer in customers %}
<tr>
<td>
<a onclick="new PluginSales.CustomerSlideout('{{ customer.customer }}')">
<a href="#" onclick="event.preventDefault(); new PluginSales.CustomerSlideout('{{ customer.customer }}')">
{{- customer.customer -}}
</a>
</td>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_components/sales.twig
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<tr>
{% if customer is null %}
<td>
<a onclick="new PluginSales.CustomerSlideout('{{ sale.customer }}')">
<a href="#" onclick="event.preventDefault(); new PluginSales.CustomerSlideout('{{ sale.customer }}')">
{{- sale.customer -}}
</a>
{% if sale.first %}
Expand Down

0 comments on commit 93b6e7d

Please sign in to comment.