mirror of
https://github.com/apankrat/nullboard.git
synced 2025-08-16 10:04:25 +02:00
@@ -221,7 +221,7 @@
|
|||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
/***/
|
/***/
|
||||||
.clearfix:after,
|
.clearfix:after,
|
||||||
.board:after,
|
.board:after,
|
||||||
@@ -1711,7 +1711,7 @@
|
|||||||
return Math.min(Math.max(this, min), max);
|
return Math.min(Math.max(this, min), max);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* add a blank line to push 'Prevent this page from opening ...'
|
* add a blank line to push 'Prevent this page from opening ...'
|
||||||
* tack-on from the actual message we are trying to display
|
* tack-on from the actual message we are trying to display
|
||||||
*/
|
*/
|
||||||
@@ -1986,7 +1986,7 @@
|
|||||||
var meta = this.boardIndex.get(board_id);
|
var meta = this.boardIndex.get(board_id);
|
||||||
|
|
||||||
if (! meta)
|
if (! meta)
|
||||||
throw `Invalid board_id in nukeBoard(${board.id})`;
|
throw `Invalid board_id in nukeBoard(${board_id})`;
|
||||||
|
|
||||||
var title = meta.title + '';
|
var title = meta.title + '';
|
||||||
|
|
||||||
@@ -2039,7 +2039,7 @@
|
|||||||
var meta = this.boardIndex.get(board_id);
|
var meta = this.boardIndex.get(board_id);
|
||||||
|
|
||||||
if (! meta)
|
if (! meta)
|
||||||
throw `Invalid board_id in setBoardRevision(${board_id}, ${revision})`;
|
throw `Invalid board_id in setBoardUiSpot(${board_id}, ${ui_spot})`;
|
||||||
|
|
||||||
meta.ui_spot = ui_spot;
|
meta.ui_spot = ui_spot;
|
||||||
|
|
||||||
@@ -3476,7 +3476,7 @@
|
|||||||
return "Required board properties are empty.";
|
return "Required board properties are empty.";
|
||||||
|
|
||||||
if (foo.format != NB.blobVersion)
|
if (foo.format != NB.blobVersion)
|
||||||
return `Unsupported blob format "${foo.format}", expecting "${NB.blobVersion}".`;
|
return `Unsupported blob format "${foo.format}", expecting "${NB.blobVersion}".`;
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user