Fix eslint warnings.

This commit is contained in:
evazion
2018-08-04 14:36:39 -05:00
parent 752557e813
commit f72b32b27b
27 changed files with 149 additions and 155 deletions

View File

@@ -112,7 +112,7 @@ Blacklist.apply = function() {
$.each(this.posts(), function(i, post) {
var post_count = 0;
$.each(Blacklist.entries, function(i, entry) {
$.each(Blacklist.entries, function(j, entry) {
if (Blacklist.post_match(post, entry)) {
entry.hits += 1;
count += 1;
@@ -192,7 +192,7 @@ Blacklist.initialize_all = function() {
}
$(document).ready(function() {
if ($("#blacklist-box").length == 0) {
if ($("#blacklist-box").length === 0) {
return;
}