mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	drafts: Rename open_modal -> open_overlay.
We consider the drafts thing to be an overlay, not a modal, so the old name was confusing.
This commit is contained in:
		@@ -360,7 +360,7 @@ exports.launch = function () {
 | 
			
		||||
    // element in order for the CSS transition to take effect.
 | 
			
		||||
    $('#draft_overlay').css('opacity');
 | 
			
		||||
 | 
			
		||||
    exports.open_modal();
 | 
			
		||||
    exports.open_overlay();
 | 
			
		||||
    exports.set_initial_element(drafts);
 | 
			
		||||
    setup_event_handlers();
 | 
			
		||||
};
 | 
			
		||||
@@ -485,7 +485,7 @@ exports.drafts_handle_events = function (e, event_key) {
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
exports.open_modal = function () {
 | 
			
		||||
exports.open_overlay = function () {
 | 
			
		||||
    overlays.open_overlay({
 | 
			
		||||
        name: 'drafts',
 | 
			
		||||
        overlay: $('#draft_overlay'),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user