mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
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:
committed by
Tim Abbott
parent
64381b6e38
commit
1e03c15758
@@ -3,7 +3,7 @@ var settings_display = (function () {
|
|||||||
var exports = {};
|
var exports = {};
|
||||||
|
|
||||||
exports.set_night_mode = function (bool) {
|
exports.set_night_mode = function (bool) {
|
||||||
if (!page_params.development) {
|
if (!page_params.development_environment) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user