Skip to content

Commit

Permalink
eslint: fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Jun 18, 2019
1 parent 091821c commit 1525a2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
doc/*
lib/html/static/js/bootstrap.min*
lib/html/static/js/dataTables.bootstrap*
lib/html/static/js/jquery*
lib/html/static/js/livestamp.min.js
lib/html/static/js/moment.min.js
4 changes: 1 addition & 3 deletions lib/html/static/js/rosie-disco.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ Rosie.query = function() {
q_open_groups -= group1.length
}
q += "q=" + filter_list.join("+");
var suffix = row.attr("id").substr(1);
});
if ($("#query-all").attr("checked")) {
q += "&all_revs=1"
Expand Down Expand Up @@ -100,7 +99,6 @@ Rosie.query_remove = function() {
Rosie.query_reset();
};
Rosie.query_groups_toggle = function (event_obj) {
var tbody = $("#query-table tbody");
var control = $("#show-groups");
var show_groups = null;
if (event_obj == null) {
Expand All @@ -116,7 +114,7 @@ Rosie.query_groups_toggle = function (event_obj) {
else {
show_groups = !control.hasClass("active");
}
$("#query-table > tbody > tr").each(function(i) {
$("#query-table > tbody > tr").each(function() {
var row = $(this);
var group0 = $(".q_group0", row);
var group1 = $(".q_group1", row);
Expand Down

0 comments on commit 1525a2a

Please sign in to comment.