Files
zulip/static/js/ui_state.js
wangjames 12eeb27442 js dependencies: Extract ui_state.js.
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.
2017-03-19 14:11:50 -07:00

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;
}