Browse Source

use config.get_bool() for getting debug mode

sisyphus
Dustin Falgout 9 years ago
parent
commit
58cccff75f
  1. 4
      themes/antergos/js/greeter.js

4
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' ) || '';

Loading…
Cancel
Save