mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-11-04 13:31:45 +03:00 
			
		
		
		
	Finished new user invite flow
This commit is contained in:
		@@ -11,6 +11,11 @@ class ToggleSwitch {
 | 
			
		||||
 | 
			
		||||
    stateChange() {
 | 
			
		||||
        this.input.value = (this.checkbox.checked ? 'true' : 'false');
 | 
			
		||||
 | 
			
		||||
        // Dispatch change event from hidden input so they can be listened to
 | 
			
		||||
        // like a normal checkbox.
 | 
			
		||||
        const changeEvent = new Event('change');
 | 
			
		||||
        this.input.dispatchEvent(changeEvent);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user