networkConnections() fix truncated ip6 addr (macOS)

This commit is contained in:
Sebastian Hildebrandt
2023-11-24 13:12:40 +01:00
parent f36b80072f
commit 453d338a93
5 changed files with 17 additions and 11 deletions
+4 -4
View File
@@ -63,8 +63,8 @@
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function () {
if (this.readyState == 4 && this.status == 200) {
var package = JSON.parse(this.responseText);
document.getElementById("version").innerHTML = package.version;
var packageVersion = JSON.parse(this.responseText);
document.getElementById("version").innerHTML = packageVersion.version;
}
};
xhttp.open("GET", "https://registry.npmjs.org/systeminformation/latest", true);
@@ -78,9 +78,9 @@
backDelay: 1200,
};
var typed = new Typed('#typed', options);
return new Typed('#typed', options);
}
function scrollIt(destination, duration = 200, easing = 'linear', callback) {
function scrollIt(destination, duration, easing, callback) {
const easings = {
linear(t) {