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 e = document.getElementById("boardname");
|
||||
var board = e.value;
|
||||
if ( ! board.startsWith("overchan.") ) {
|
||||
if ( board.indexOf(".") == -1 ) {
|
||||
board = "overchan." + board;
|
||||
}
|
||||
form.action = form.action + board;
|
||||
|
Reference in New Issue
Block a user