Commit 24c66dbd authored by Zosman's avatar Zosman
Browse files

Comment Changes:

Made comments a bit more PG
:zosman:
parent 4a9839fa
function filterApplied() {
var input, filter, table, tr, td, i;
input = document.getElementById("appliedInput"); // the var that holdes input from text box
filter = input.value.toUpperCase(); //makes the input all uppercase for some fucking reason
filter = input.value.toUpperCase(); //makes the input all uppercase so we can eliminate that from the things can break stuff
  • FYI I'm not sure if that's what that is actually for, assuming I'm interpreting that comment correctly.

  • if it's filtering user input then it's probably just making the search filter case insensitive

Please register or sign in to reply
table = document.getElementById("appliedTable"); // the table at the moment this is called
tr = table.getElementsByTagName("tr"); //the table rows
for (i = 1; i < tr.length; i++) { // loops through the table rows
......@@ -20,7 +20,7 @@ function filterApplied() {
function filterBlocked() {
var input, filter, table, tr, td, i;
input = document.getElementById("blockedInput"); // the var that holdes input from text box
filter = input.value.toUpperCase(); //makes the input all uppercase for some fucking reason
filter = input.value.toUpperCase(); //makes the input all uppercase so we can eliminate that from the things can break stuff
Please register or sign in to reply
table = document.getElementById("blockedTable"); // the table at the moment this is called
tr = table.getElementsByTagName("tr"); //the table rows
for (i = 1; i < tr.length; i++) { // loops through the table rows
......@@ -39,7 +39,7 @@ function filterBlocked() {
function filterCurrent() {
var input, filter, table, tr, td, i;
input = document.getElementById("currentInput"); // the var that holdes input from text box
filter = input.value.toUpperCase(); //makes the input all uppercase for some fucking reason
filter = input.value.toUpperCase(); //makes the input all uppercase so we can eliminate that from the things can break stuff
Please register or sign in to reply
table = document.getElementById("currentTable"); // the table at the moment this is called
tr = table.getElementsByTagName("tr"); //the table rows
for (i = 1; i < tr.length; i++) { // loops through the table rows
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment