mirror of https://github.com/zulip/zulip.git
settings_display: Change dev check to correct attribute.
For setting the night mode, it checks to see if you’re in development by checking `page_params.development`, but the actual attribute is `page_params.development_environment`.
This commit is contained in:
parent
64381b6e38
commit
1e03c15758
|
@ -3,7 +3,7 @@ var settings_display = (function () {
|
|||
var exports = {};
|
||||
|
||||
exports.set_night_mode = function (bool) {
|
||||
if (!page_params.development) {
|
||||
if (!page_params.development_environment) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue