mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
Update user-profile.tag
This commit is contained in:
parent
5f50ac0972
commit
5db5f0f074
1 changed files with 10 additions and 8 deletions
|
@ -80,20 +80,22 @@
|
|||
|
||||
</style>
|
||||
<script>
|
||||
this.age = require 's-age'
|
||||
this.age = require('s-age');
|
||||
|
||||
this.mixin('i');
|
||||
|
||||
this.user = this.opts.user
|
||||
this.user = this.opts.user;
|
||||
|
||||
this.show-following = () => {
|
||||
window = document.body.appendChild(document.createElement('mk-user-following-window'));
|
||||
riot.mount window, do
|
||||
this.showFollowing = () => {
|
||||
riot.mount(document.body.appendChild(document.createElement('mk-user-following-window')), {
|
||||
user: this.user
|
||||
});
|
||||
};
|
||||
|
||||
this.show-followers = () => {
|
||||
window = document.body.appendChild(document.createElement('mk-user-followers-window'));
|
||||
riot.mount window, do
|
||||
this.showFollowers = () => {
|
||||
riot.mount(document.body.appendChild(document.createElement('mk-user-followers-window')), {
|
||||
user: this.user
|
||||
});
|
||||
};
|
||||
</script>
|
||||
</mk-user-profile>
|
||||
|
|
Loading…
Reference in a new issue