mirror of
				https://github.com/beestat/app.git
				synced 2025-10-31 10:07:01 -04:00 
			
		
		
		
	Fixed #340 - Announcements popup shows every time
This commit is contained in:
		
							parent
							
								
									c5cb3f1bc1
								
							
						
					
					
						commit
						d1aa64dba6
					
				| @ -238,10 +238,13 @@ beestat.layer.load.prototype.decorate_ = function(parent) { | ||||
|       beestat.setting('first_run', false); | ||||
|       (new beestat.component.modal.newsletter()).render(); | ||||
|     } else if ( | ||||
|       last_read_announcement_id === undefined || | ||||
|       beestat.cache.announcement.length > 0 && | ||||
|       ( | ||||
|         most_recent_important_announcement_id !== undefined && | ||||
|         last_read_announcement_id < most_recent_important_announcement_id | ||||
|         last_read_announcement_id === undefined || | ||||
|         ( | ||||
|           most_recent_important_announcement_id !== undefined && | ||||
|           last_read_announcement_id < most_recent_important_announcement_id | ||||
|         ) | ||||
|       ) | ||||
|     ) { | ||||
|       (new beestat.component.modal.announcements()).render(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user