Fix some javascript bugs, update packages, and update some style bugs.

This commit is contained in:
Gareth Latty
2016-07-20 14:00:46 +01:00
parent c01b6a2ab7
commit 15e92a69ea
12 changed files with 139 additions and 109 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
function toggleWarningDrawer() {
document.getElementById('#warning-drawer').classList.toggle('shut');
document.getElementById('warning-drawer').classList.toggle('shut');
}
function start(url, version) {
@@ -34,7 +34,7 @@ function start(url, version) {
});
game.ports.qr.subscribe(function (idAndValue) {
new QRCode(document.getElementById('#' + idAndValue.id), {
new QRCode(document.getElementById(idAndValue.id), {
text: idAndValue.value,
width: 200,
height: 200