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
275 B
JavaScript

function createBoard() {
var form = document.getElementById("postform");
var e = document.getElementById("boardname");
var board = e.value;
if ( board.indexOf(".") == -1 ) {
board = "overchan." + board;
}
form.action = form.action + board;
form.submit();
}