mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	removing old post_window (!!) and fixing default focus when the composer is loaded
This commit is contained in:
		@@ -56,14 +56,6 @@
 | 
			
		||||
		}
 | 
			
		||||
	});
 | 
			
		||||
 | 
			
		||||
	// Post window events
 | 
			
		||||
	var	postWindowEl = document.getElementById('post_window'),
 | 
			
		||||
		discardEl = document.getElementById('discard-post');
 | 
			
		||||
	discardEl.addEventListener('click', function() {
 | 
			
		||||
		$(postWindowEl).slideToggle(250);
 | 
			
		||||
		$(document.body).removeClass('composing');
 | 
			
		||||
	}, false);
 | 
			
		||||
 | 
			
		||||
	// Notifications dropdown
 | 
			
		||||
	var notifContainer = document.getElementsByClassName('notifications')[0],
 | 
			
		||||
		notifTrigger = notifContainer.querySelector('a'),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user