Fix prettier complains

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
This commit is contained in:
rdwebdesign
2021-11-12 02:06:02 -03:00
parent 906f76ac1d
commit ffc628ae4c

View File

@@ -17,12 +17,9 @@ var dateformat = "MMMM Do YYYY, HH:mm";
// get the database min timestamp
var mintimestamp;
$.getJSON(
"http://192.168.0.201/admin/api_db.php?getMinTimestamp=true",
function (ts) {
mintimestamp = ((ts.mintimestamp) * 1000) || 0; // return the number times 1000 or zero (in case of NaN)
}
);
$.getJSON("api_db.php?getMinTimestamp", function (ts) {
mintimestamp = ((ts.mintimestamp) * 1000) || 0; // return the timestamp in milliseconds or zero (in case of NaN)
});
$(function () {
$("#querytime").daterangepicker(