fix: correct framework and trianglify issue
This commit is contained in:
parent
c95b34e1d4
commit
92840887d2
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/trianglify/2.0.0/trianglify.min.js"></script>
|
||||
<script>
|
||||
function setRandomBgImage(selector, seed, zoom = 1) {
|
||||
function setRandomBgImage(selector, seed, zoom) {
|
||||
var element = document.querySelector(selector);
|
||||
if (!element) return;
|
||||
var pattern = Trianglify({
|
||||
|
|
|
@ -32,4 +32,4 @@ layout: default
|
|||
|
||||
{%- endfor -%}
|
||||
</section>
|
||||
<div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue