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:
Brock Whittaker
2017-11-29 13:42:16 -08:00
committed by Tim Abbott
parent 64381b6e38
commit 1e03c15758

View File

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