Skip to content

Commit

Permalink
Remove duplicate code (publiclab#10969)
Browse files Browse the repository at this point in the history
* Removed duplicate code publiclab#10897

* Removed duplicate code publiclab#10897

* Indented Line

* Removed Duplicate Code publiclab#10897 Fix

Indented line #5 to be on same line as #10

* Removed Duplicate Code publiclab#10897 Fix

Indented line #5 to be on same line as #10

* Indentation on #5 fix

* Removed Duplicate Code publiclab#10897 Fix

Indented line #5 to be on same line as #10

* Removed duplicate code publiclab#10897

Removed Duplicate code publiclab#10987 Indenting Line #5

* Removed Duplicate Code publiclab#10897 Fix

Indented line #5 to be on same line as #10

* Indentation on #5 fix

* Removed Duplicate Code publiclab#10897 Fix

Indented line #5 to be on same line as #10

* Removed duplicate code publiclab#10897

Removed Duplicate code publiclab#10987 Indenting Line #5

* Removed Duplicate Code publiclab#10897 Fix

Indented line #5 to be on same line as #10

* Indentation on #5 fix

* Removed duplicate code publiclab#10897

* Indented Line

* Removed duplicate code publiclab#10897
  • Loading branch information
rohaid-bakh authored Apr 7, 2022
1 parent f4b5966 commit 7898005
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/views/spam2/_nodes.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
$(document).ready(function () {
var table = table_main("#node_table");
$("#all").click(function () { //select all button
$('.selectedId').prop('checked', !$('.selectedId').prop('checked'));
var check = ($('.selectedId').filter(":checked").length == $('.selectedId').length);
$('#select-count').text($('.selectedId').filter(":checked").length);
$('#selectall').prop("checked", check);
disable_buttons('#selectall');
select_all();
});
var pageselect = localStorage.getItem('page-select') || '30';
$("#pageselect").val(pageselect);
Expand Down

0 comments on commit 7898005

Please sign in to comment.