Browse Source

Increase maximum number of bg images shown in the bg switcher.

sisyphus
Dustin Falgout 7 years ago
parent
commit
68ce114073
No known key found for this signature in database
GPG Key ID: AEA529BF122902E5
  1. 4
      themes/default/js/greeter.js

4
themes/default/js/greeter.js vendored

@ -320,8 +320,8 @@ class BackgroundManager {
$thumbs_container = $( '.bgs' ); $thumbs_container = $( '.bgs' );
// TODO: Implement some form of pagination // TODO: Implement some form of pagination
if ( _config.background_images.length > 20 ) { if ( _config.background_images.length > 100 ) {
_config.background_images = _config.background_images.splice( 0, 20 ); _config.background_images = _config.background_images.splice( 0, 100 );
} }
$random_thumbnail.on( 'click', event => this.background_selected_handler(event) ); $random_thumbnail.on( 'click', event => this.background_selected_handler(event) );

Loading…
Cancel
Save