Review comments

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-01-07 18:56:56 +01:00
parent 496af21131
commit d07eafc964
3 changed files with 10 additions and 9 deletions
+3 -2
View File
@@ -6,8 +6,10 @@
* Please see LICENSE file for your rights under this license. */
var tableApi;
var APIstring = "api_db.php?network";
function refreshData() {
tableApi.ajax.url("api_db.php?network").load();
tableApi.ajax.url(APIstring).load();
}
function openInNewTab(url) {
@@ -60,7 +62,6 @@ function mixColors(ratio, rgb1, rgb2)
}
$(document).ready(function() {
var APIstring = "api_db.php?network";
tableApi = $("#network-entries").DataTable( {
"rowCallback": function( row, data, index )
{