fix: Do not redirect user away from site after they submit a comment (#2402)

This commit is contained in:
Daniel Schroeder 2020-02-17 14:28:33 -06:00 committed by GitHub
parent f7884a31c6
commit e8b36c94d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{% if site.repository and site.staticman.branch %}
{% if site.repository and site.comments.staticman.branch %}
<script>
(function ($) {
$('#new_comment').submit(function () {