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:
DL6ER
2019-07-24 23:15:19 +02:00
parent eac87f139f
commit 13f07f9d87
2 changed files with 96 additions and 62 deletions

View File

@@ -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) {