diff --git a/index.html b/index.html
index 2db6a44..594563e 100644
--- a/index.html
+++ b/index.html
@@ -56,7 +56,7 @@
Hello
msg,
},
info,
- }, info);
+ });
}
(function () {
diff --git a/webxdc.js b/webxdc.js
index 8fb5ee7..4c59f28 100644
--- a/webxdc.js
+++ b/webxdc.js
@@ -109,7 +109,7 @@ window.webxdc = (() => {
console.log("[Webxdc] WARNING: getAllUpdates() is deprecated.");
return Promise.resolve([]);
},
- sendUpdate: (update, description) => {
+ sendUpdate: (update) => {
var updates = getUpdates();
var serial = updates.length + 1;
var _update = {
@@ -123,7 +123,7 @@ window.webxdc = (() => {
window.localStorage.setItem(updatesKey, JSON.stringify(updates));
_update.max_serial = serial;
console.log(
- '[Webxdc] description="' + description + '", ' + JSON.stringify(_update)
+ '[Webxdc] ' + JSON.stringify(_update)
);
updateListener(_update);
},