Fixed game guide

This commit is contained in:
H4CK3R-01
2021-06-24 11:12:34 +02:00
committed by H4CK3R-01
parent fe0644a092
commit b946e60c1d
2 changed files with 10 additions and 7 deletions

View File

@@ -51,4 +51,12 @@ document.getElementById('ok').addEventListener('click', function () {
socket.on('user left', function (data) {
addLogMessage(data + ' left');
});
});
});
function open_manual() {
let frame = document.createElement('iframe');
frame.src = 'data/Spielanleitung.pdf';
frame.id = 'spielanleitung';
document.getElementById('content').appendChild(frame);
document.getElementById('modal').style.display = 'block';
}