mirror of
https://github.com/lovasoa/whitebophir
synced 2024-11-14 16:27:13 +00:00
fix bug when saving inexistant board
This commit is contained in:
parent
5d0901d4ff
commit
d8999eccee
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ function socketConnection(socket) {
|
|||
}
|
||||
|
||||
function saveHistory(boardName, message) {
|
||||
if (! boardName in boards) return;
|
||||
var id = message.id;
|
||||
var boardData = boards[boardName].data;
|
||||
switch (message.type) {
|
||||
|
|
Loading…
Reference in a new issue