Update webxdc.js

Co-authored-by: Lars-Magnus Skog <ralphtheninja@riseup.net>
This commit is contained in:
Asiel Díaz Benítez 2022-01-06 19:00:40 -05:00 committed by GitHub
parent 841f7f9691
commit 9106496e0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ window.alterXdcApp = () => {
} }
title.innerText = window.webxdc.selfAddr(); title.innerText = window.webxdc.selfAddr();
if (window.webxdc.selfName() == "device0") { if (window.webxdc.selfName() === "device0") {
var div = document.createElement('div'); var div = document.createElement('div');
div.innerHTML = div.innerHTML =
'<div style="' + styleControlPanel + '">' + '<div style="' + styleControlPanel + '">' +