make empty profiles for users on first visit

This commit is contained in:
ansuz
2017-08-02 17:32:09 +02:00
parent 8b0831ac5d
commit 71d88b156d

View File

@@ -525,10 +525,9 @@ define([
APP.$rightside.append($p); APP.$rightside.append($p);
return; return;
} }
var $create = $('<div>', {id: CREATE_ID});
var $button = $('<button>', {'class': 'btn btn-success'}); // make an empty profile for the user on their first visit
$button.text(Messages.profile_create).click(todo).appendTo($create); todo();
APP.$rightside.append($create);
}; };
var onCryptpadReady = function () { var onCryptpadReady = function () {