mirror of
https://github.com/pi-hole/web.git
synced 2026-04-23 18:29:43 +01:00
Switch the teleporter to only interact with gravity.db directly. This avoids any need for escaping regexes and just seems to be the right thing to do. Ensure that we flush a table only once (in case multiple files add to the same table).
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -82,11 +82,11 @@ function refresh(fade) {
|
||||
|
||||
if(data.length > 0)
|
||||
{
|
||||
$("#h3-exact").show();
|
||||
$("#h3-exact").fadeIn(100);
|
||||
}
|
||||
if(data2.length > 0)
|
||||
{
|
||||
$("#h3-regex").show();
|
||||
$("#h3-regex").fadeIn(100);
|
||||
}
|
||||
|
||||
data.forEach(function (entry, index)
|
||||
@@ -132,7 +132,7 @@ function sub(index, entry, arg) {
|
||||
domain.remove();
|
||||
if($(list+" li").length < 1)
|
||||
{
|
||||
$(heading).hide();
|
||||
$(heading).fadeOut(100);
|
||||
}
|
||||
},
|
||||
error: function(jqXHR, exception) {
|
||||
|
||||
Reference in New Issue
Block a user