mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-31 11:00:08 +00:00 
			
		
		
		
	notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									3984b2422e
								
							
						
					
					
						commit
						bb3ba95ae3
					
				| @ -2311,6 +2311,9 @@ Object.assign( | |||||||
| 				attributeChangedCallback(name, before, after){ | 				attributeChangedCallback(name, before, after){ | ||||||
| 					if(name == 'local-storage'){ | 					if(name == 'local-storage'){ | ||||||
| 						this.__localStorage = after | 						this.__localStorage = after | ||||||
|  | 						// XXX setting code here because we will load at .setup(..)
 | ||||||
|  | 						// 		...the problem is that if we change the attr 
 | ||||||
|  | 						// 		we need to call .load(..)
 | ||||||
| 						this.code = localStorage[after] ?? '' } | 						this.code = localStorage[after] ?? '' } | ||||||
| 
 | 
 | ||||||
| 					if(name == 'session-storage'){ | 					if(name == 'session-storage'){ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user