From 68ce1140730e12b9ce46930cdcc9321ab7587e9d Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Sun, 7 Jan 2018 20:04:30 -0600 Subject: [PATCH] Increase maximum number of bg images shown in the bg switcher. --- themes/default/js/greeter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/js/greeter.js b/themes/default/js/greeter.js index b6639fa..032f160 100644 --- a/themes/default/js/greeter.js +++ b/themes/default/js/greeter.js @@ -320,8 +320,8 @@ class BackgroundManager { $thumbs_container = $( '.bgs' ); // TODO: Implement some form of pagination - if ( _config.background_images.length > 20 ) { - _config.background_images = _config.background_images.splice( 0, 20 ); + if ( _config.background_images.length > 100 ) { + _config.background_images = _config.background_images.splice( 0, 100 ); } $random_thumbnail.on( 'click', event => this.background_selected_handler(event) );