only force overchan prefix if no . is present
This commit is contained in:
parent
12709d364b
commit
15ccb7ad50
@ -2,7 +2,7 @@ function createBoard() {
|
|||||||
var form = document.getElementById("postform");
|
var form = document.getElementById("postform");
|
||||||
var e = document.getElementById("boardname");
|
var e = document.getElementById("boardname");
|
||||||
var board = e.value;
|
var board = e.value;
|
||||||
if ( ! board.startsWith("overchan.") ) {
|
if ( board.indexOf(".") == -1 ) {
|
||||||
board = "overchan." + board;
|
board = "overchan." + board;
|
||||||
}
|
}
|
||||||
form.action = form.action + board;
|
form.action = form.action + board;
|
||||||
|
Reference in New Issue
Block a user