aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_new_channel.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/mod_new_channel.js')
-rw-r--r--view/js/mod_new_channel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/mod_new_channel.js b/view/js/mod_new_channel.js
index 02b6f857e..a3c1dd05c 100644
--- a/view/js/mod_new_channel.js
+++ b/view/js/mod_new_channel.js
@@ -1,14 +1,14 @@
$(document).ready(function() {
$("#newchannel-name").blur(function() {
var zreg_name = $("#newchannel-name").val();
- $.get("newchannel/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) {
+ $.get("new_channel/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) {
$("#newchannel-nickname").val(data);
zFormError("#newchannel-name-feedback",data.error);
});
});
$("#newchannel-nickname").blur(function() {
var zreg_nick = $("#newchannel-nickname").val();
- $.get("newchannel/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) {
+ $.get("new_channel/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) {
$("#newchannel-nickname").val(data);
zFormError("#newchannel-nickname-feedback",data.error);
});