[Client] Fix bug
This commit is contained in:
		@@ -2,7 +2,7 @@ const riot = require('riot');
 | 
			
		||||
 | 
			
		||||
module.exports = me => {
 | 
			
		||||
	riot.mixin('i', {
 | 
			
		||||
		init: () => {
 | 
			
		||||
		init: function() {
 | 
			
		||||
			this.I = me;
 | 
			
		||||
			this.SIGNIN = me != null;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
const riot = require('riot');
 | 
			
		||||
 | 
			
		||||
riot.mixin('user-preview', {
 | 
			
		||||
	init: () => {
 | 
			
		||||
	init: function() {
 | 
			
		||||
		const scan = () => {
 | 
			
		||||
			this.root.querySelectorAll('[data-user-preview]:not([data-user-preview-attached])')
 | 
			
		||||
				.forEach(attach.bind(this));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user