Fixed game guide
This commit is contained in:
@@ -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';
|
||||
}
|
Reference in New Issue
Block a user