mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 15:42:59 +00:00 
			
		
		
		
	| @@ -271,13 +271,16 @@ Syncer.prototype.handleLazyLoadEvent = function(title) { | |||||||
| 	// Don't lazy load the same tiddler twice | 	// Don't lazy load the same tiddler twice | ||||||
| 	var info = this.tiddlerInfo[title]; | 	var info = this.tiddlerInfo[title]; | ||||||
| 	if(!info || !info.hasBeenLazyLoaded) { | 	if(!info || !info.hasBeenLazyLoaded) { | ||||||
| 		this.createTiddlerInfo(title); | 		// Don't lazy load if the tiddler isn't included in the sync filter | ||||||
| 		this.tiddlerInfo[title].hasBeenLazyLoaded = true; | 		if(this.filterFn.call(this.wiki).indexOf(title) !== -1) { | ||||||
| 		// Queue up a sync task to load this tiddler | 			this.createTiddlerInfo(title); | ||||||
| 		this.enqueueSyncTask({ | 			this.tiddlerInfo[title].hasBeenLazyLoaded = true; | ||||||
| 			type: "load", | 			// Queue up a sync task to load this tiddler | ||||||
| 			title: title | 			this.enqueueSyncTask({ | ||||||
| 		});		 | 				type: "load", | ||||||
|  | 				title: title | ||||||
|  | 			}); | ||||||
|  | 		} | ||||||
| 	} | 	} | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jermolene
					Jermolene