Skip to content

Commit

Permalink
Remove unused variables (#1996)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentTam authored and mmistakes committed Jan 1, 2019
1 parent f4d890f commit c1412e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions _includes/comments-providers/staticman.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{% if site.repository and site.staticman.branch %}
<script>
(function ($) {
var $comments = $('.js-comments');

$('#new_comment').submit(function () {
var form = this;

Expand Down Expand Up @@ -39,4 +37,4 @@
}
})(jQuery);
</script>
{% endif %}
{% endif %}
4 changes: 1 addition & 3 deletions _includes/comments-providers/staticman_v2.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{% if site.repository and site.staticman.branch %}
<script>
(function ($) {
var $comments = $('.js-comments');

$('#new_comment').submit(function () {
var form = this;

Expand Down Expand Up @@ -39,4 +37,4 @@
}
})(jQuery);
</script>
{% endif %}
{% endif %}

0 comments on commit c1412e3

Please sign in to comment.