diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/assets/css/bucky.css | 5 | ||||
| -rw-r--r-- | public/assets/js/lib/views/profile/profile.js | 10 |
2 files changed, 8 insertions, 7 deletions
diff --git a/public/assets/css/bucky.css b/public/assets/css/bucky.css index 9be7f20..b74e204 100644 --- a/public/assets/css/bucky.css +++ b/public/assets/css/bucky.css @@ -171,6 +171,11 @@ table, tr { background-size: cover; background-position: center center; } +#hoots .avatar a { + display: block; + width: 100%; + height: 100%; +} #hoots td:nth-child(2){ text-align: left; padding: 5px; diff --git a/public/assets/js/lib/views/profile/profile.js b/public/assets/js/lib/views/profile/profile.js index 34c8fba..d8bc535 100644 --- a/public/assets/js/lib/views/profile/profile.js +++ b/public/assets/js/lib/views/profile/profile.js @@ -34,13 +34,9 @@ var ProfileView = View.extend({ $table.append(t) }) - var fields = "message".split(" ").map((key) => { - if (! user[key]) return; - var t = this.template.replace(/{{key}}/, " ") - .replace(/{{value}}/, '<a href="/mail/compose/' + username + '">send ' + username + ' a message</a>') - $table.append(t) - }) - + var t = this.template.replace(/{{key}}/, " ") + .replace(/{{value}}/, '<a href="/mail/compose/' + username + '">send ' + username + ' a message</a>') + $table.append(t) }, }) |
