aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_register.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-16 18:13:20 +0000
committerMario <mario@mariovavti.com>2021-04-16 18:13:20 +0000
commit88f7c2041d74d82db5c84b45f30e1eb64dfcc216 (patch)
treeecb7db547685d327a69cc6e9946d6e9a18e635bf /view/js/mod_register.js
parentb8a5f5fbf2b1702642c9489ea5ae3360c5b731bb (diff)
downloadvolse-hubzilla-88f7c2041d74d82db5c84b45f30e1eb64dfcc216.tar.gz
volse-hubzilla-88f7c2041d74d82db5c84b45f30e1eb64dfcc216.tar.bz2
volse-hubzilla-88f7c2041d74d82db5c84b45f30e1eb64dfcc216.zip
register: add option to show all register entries
Diffstat (limited to 'view/js/mod_register.js')
-rw-r--r--view/js/mod_register.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/view/js/mod_register.js b/view/js/mod_register.js
index 7dbc2aca8..1fc5ad2fa 100644
--- a/view/js/mod_register.js
+++ b/view/js/mod_register.js
@@ -68,6 +68,9 @@ $(document).ready(function() {
});
$('#id_name').blur(function() {
+ if($('#id_name').val() == '')
+ return;
+
$('#name-spinner').fadeIn();
var zreg_name = $('#id_name').val();
$.get('new_channel/autofill.json?f=&name=' + encodeURIComponent(zreg_name),function(data) {
@@ -81,6 +84,9 @@ $(document).ready(function() {
});
$('#id_nickname').blur(function() {
+ if($('#id_name').val() == '')
+ return;
+
$('#nick-spinner').fadeIn();
$('#nick-hub').fadeOut();
var zreg_nick = $('#id_nickname').val();