Skip to content

Commit

Permalink
Merge pull request #111 from jiewenhuang/dev
Browse files Browse the repository at this point in the history
fix:部分情况下出现系统弹窗问题
  • Loading branch information
jiewenhuang committed Oct 4, 2023
2 parents 117d8b0 + 18fcfff commit 5b74fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/modules/common/blogger.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
<th:block th:if="${theme.config.blogger.enable_strips}">
<canvas id="canvas-strips" width="300" height="340"></canvas>
<script th:src="@{/assets/effect/bg/strips.js}"></script>
<script th:inline="javascript" th:if="${theme.config.blogger.overview_type != 'A'}">
<script th:inline="javascript" th:if="${theme.config.blogger.overview_type != 'A'} and ${theme.config.basic.comment_option=='waline'} and ${#strings.trim(theme.config.basic.waline_serverURL) !=''}">
const url = [[${theme.config.basic.waline_serverURL+'/api/comment?type=count'}]];
fetch(url).then(async (response) => {
const data = await response.json();
Expand Down

0 comments on commit 5b74fbc

Please sign in to comment.