Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/contrib/static/newboard.js

11 lines
282 B
JavaScript
Raw Normal View History

2015-10-03 00:38:59 +05:00
function createBoard() {
var form = document.getElementById("postform");
var e = document.getElementById("boardname");
var board = e.value;
if ( ! board.startsWith("overchan.") ) {
board = "overchan." + board;
}
form.action = form.action + board;
2015-10-03 00:38:59 +05:00
form.submit();
}