mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	The function home_tab_obscured used to be in the ui_state namespace via a shim, but now we have an actual module for it.
		
			
				
	
	
		
			20 lines
		
	
	
		
			280 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			280 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
var ui_state = (function () {
 | 
						|
 | 
						|
var exports = {};
 | 
						|
 | 
						|
exports.home_tab_obscured = function () {
 | 
						|
    if ($('.overlay.show').length > 0) {
 | 
						|
        return 'modal';
 | 
						|
    }
 | 
						|
 | 
						|
    return false;
 | 
						|
};
 | 
						|
 | 
						|
return exports;
 | 
						|
 | 
						|
}());
 | 
						|
 | 
						|
if (typeof module !== 'undefined') {
 | 
						|
    module.exports = ui_state;
 | 
						|
}
 |