diff --git a/app/js/userdata/his-data.js b/app/js/userdata/his-data.js
index 2ddede9f..b83a6c60 100644
--- a/app/js/userdata/his-data.js
+++ b/app/js/userdata/his-data.js
@@ -579,7 +579,22 @@ function udAdd(start) {
}
}
});
-
+ fetch("https://notestock.osa-p.net/api/v1/isstock.json?id="+start.replace("@","users/"), {
+ method: 'GET',
+ headers: {
+ 'Accept': 'application/json'
+ },
+ }).then(function(response) {
+ return response.json();
+ }).catch(function(error) {
+ todo(error);
+ console.error(error);
+ }).then(function(json) {
+ if(json.user.public_view){
+ var html='Notestock';
+ $("#his-proof-prof").append(html)
+ }
+ });
}
diff --git a/app/js/userdata/showOnTL.js b/app/js/userdata/showOnTL.js
index f7c40fdf..f639d41e 100644
--- a/app/js/userdata/showOnTL.js
+++ b/app/js/userdata/showOnTL.js
@@ -184,10 +184,10 @@ function udg(user, acct_id) {
showFrl('', acct_id);
$("#his-name-val").val(json.display_name);
if(json.fields.length>0){
- $("#his-f1-name").val(json.fields[0].name); $("#his-f1-val").val($.strip_tags(json.fields[0].value));
- $("#his-f2-name").val(json.fields[1].name); $("#his-f2-val").val($.strip_tags(json.fields[1].value));
- $("#his-f3-name").val(json.fields[2].name); $("#his-f3-val").val($.strip_tags(json.fields[2].value));
- $("#his-f4-name").val(json.fields[3].name); $("#his-f4-val").val($.strip_tags(json.fields[3].value));
+ if(json.fields[0]){$("#his-f1-name").val(json.fields[0].name); $("#his-f1-val").val($.strip_tags(json.fields[0].value));}
+ if(json.fields[1]){$("#his-f2-name").val(json.fields[1].name); $("#his-f2-val").val($.strip_tags(json.fields[1].value));}
+ if(json.fields[2]){$("#his-f3-name").val(json.fields[2].name); $("#his-f3-val").val($.strip_tags(json.fields[2].value));}
+ if(json.fields[3]){$("#his-f4-name").val(json.fields[3].name); $("#his-f4-val").val($.strip_tags(json.fields[3].value));}
}
var des = json.note;
des = des.replace(/
/g, "\n")