From fc30e45ccd77353a7f7fd202d277c02c80ca83de Mon Sep 17 00:00:00 2001 From: Paul Mannarino Date: Thu, 2 Dec 2021 18:20:08 -0500 Subject: [PATCH] Re-add comment Signed-off-by: Paul Mannarino --- scripts/pi-hole/js/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/pi-hole/js/index.js b/scripts/pi-hole/js/index.js index 292cf357..87598c9f 100644 --- a/scripts/pi-hole/js/index.js +++ b/scripts/pi-hole/js/index.js @@ -331,6 +331,7 @@ function updateQueryTypesPie() { if (isEyeCon(e.target)) { return false; } else if (e.which === 1) { + // which == 1 is left mouse button window.location.href = "queries.php?querytype=" + querytypeids[$(this).index()]; } }); @@ -527,6 +528,7 @@ function updateForwardDestinationsPie() { if (isEyeCon(e.target)) { return false; } else if (e.which === 1) { + // which == 1 is left mouse button var obj = encodeURIComponent(e.target.textContent); if (obj.length > 0) { window.location.href = "queries.php?forwarddest=" + obj;