From 58cccff75fc78b8cdde421348c34ed035e457bc6 Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Thu, 3 Mar 2016 11:43:58 -0600 Subject: [PATCH] use config.get_bool() for getting debug mode --- themes/antergos/js/greeter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/antergos/js/greeter.js b/themes/antergos/js/greeter.js index d6af2a6..fc57c16 100644 --- a/themes/antergos/js/greeter.js +++ b/themes/antergos/js/greeter.js @@ -137,8 +137,8 @@ class AntergosThemeUtils { logo = config.get_str( 'branding', 'logo' ) || ''; user_image = config.get_str( 'branding', 'user_image' ) || ''; - this.debug = config.get_str( 'greeter', 'debug_mode' ); - this.debug = (null !== this.debug) ? this.debug : false; + this.debug = config.get_bool( 'greeter', 'debug_mode' ); + this.debug = (true === this.debug) ? this.debug : false; background_images_dir = config.get_str( 'branding', 'background_images' ) || '';