Skip to content

Commit

Permalink
js void fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Nov 30, 2020
1 parent 79f7023 commit a6288b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/_includes/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% assign demo-code = code %}
{% assign demo-code = demo-code | replace_regex: '\{% (end)?hide %\}', '' %}
{% assign demo-code = demo-code | replace_regex: 'href="#"', 'href="javascript:void()"' %}
{% assign demo-code = demo-code | replace_regex: 'href="#"', 'href="javascript:void(0)"' %}

<div class="example no_toc_section{% if include.centered %} example-centered{% endif %}{% if include.columns %} example-bg{% endif %}">
<div class="example-content">
Expand Down

0 comments on commit a6288b4

Please sign in to comment.