mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
updated logic for unique ids in shortcodes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{ $id := delimit (slice "chart" .Ordinal now.UnixNano) "-" }}
|
||||
<div class="chart">
|
||||
{{ $id := delimit (shuffle (seq 1 9)) "" }}
|
||||
<canvas id="{{ $id }}"></canvas>
|
||||
<script type="text/javascript">
|
||||
window.addEventListener("DOMContentLoaded", (event) => {
|
||||
|
||||
Reference in New Issue
Block a user