mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 17:29:05 +01:00
[Client] Fix bug
This commit is contained in:
parent
97bd21c0f5
commit
72c0358057
@ -2,7 +2,7 @@ const riot = require('riot');
|
|||||||
|
|
||||||
module.exports = me => {
|
module.exports = me => {
|
||||||
riot.mixin('i', {
|
riot.mixin('i', {
|
||||||
init: () => {
|
init: function() {
|
||||||
this.I = me;
|
this.I = me;
|
||||||
this.SIGNIN = me != null;
|
this.SIGNIN = me != null;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
const riot = require('riot');
|
const riot = require('riot');
|
||||||
|
|
||||||
riot.mixin('user-preview', {
|
riot.mixin('user-preview', {
|
||||||
init: () => {
|
init: function() {
|
||||||
const scan = () => {
|
const scan = () => {
|
||||||
this.root.querySelectorAll('[data-user-preview]:not([data-user-preview-attached])')
|
this.root.querySelectorAll('[data-user-preview]:not([data-user-preview-attached])')
|
||||||
.forEach(attach.bind(this));
|
.forEach(attach.bind(this));
|
||||||
|
Loading…
Reference in New Issue
Block a user