fix: correct framework and trianglify issue

This commit is contained in:
Jeffrey Tse 2019-09-20 17:41:48 +08:00
parent c95b34e1d4
commit 92840887d2
2 changed files with 2 additions and 2 deletions

View file

@ -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({

View file

@ -32,4 +32,4 @@ layout: default
{%- endfor -%}
</section>
<div>
</div>