diff --git a/contrib/static/newboard.js b/contrib/static/newboard.js index 99b1a2f..153dc1e 100644 --- a/contrib/static/newboard.js +++ b/contrib/static/newboard.js @@ -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;