Skip to content

Commit

Permalink
Add TODO note
Browse files Browse the repository at this point in the history
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
XhmikosR committed May 30, 2020
1 parent ed3ecf8 commit 4f86c05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/pi-hole/js/auditlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ $(function () {

$("#domain-frequency tbody").on("click", "button", function () {
var url = $(this).parents("tr")[0].textContent.split(" ")[0];
// TODO
if ($(this).context.textContent === " Blacklist") {
blacklistUrl(url);
} else {
Expand All @@ -142,6 +143,7 @@ $(function () {

$("#ad-frequency tbody").on("click", "button", function () {
var url = $(this).parents("tr")[0].textContent.split(" ")[0];
// TODO
if ($(this).context.textContent === " Whitelist") {
whitelistUrl(url);
} else {
Expand Down

0 comments on commit 4f86c05

Please sign in to comment.