From 8341bb8e21acf34edbfaaa1eb1b5e3f044bfe581 Mon Sep 17 00:00:00 2001 From: MatmaRex Date: Thu, 13 Jun 2013 19:10:05 +0200 Subject: [PATCH] Disable lazyload for language list The loading should be fast enough now after Id9397631 is merged, taking no more than a second or two to render entirely. We could consider showing a spinner while it's loading, but it doesn't seem necessary. This makes bug 39923 invalid. --- src/jquery.uls.core.js | 2 +- src/jquery.uls.lcd.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jquery.uls.core.js b/src/jquery.uls.core.js index 0d3cfd0..be4f435 100644 --- a/src/jquery.uls.core.js +++ b/src/jquery.uls.core.js @@ -412,7 +412,7 @@ searchAPI: null, // Language search API languages: $.uls.data.getAutonyms(), // Languages to be used for ULS, default is all languages quickList: null, // Array of language codes or function that returns such - lazyload: true, // Lazy load the language list when scrolled. + lazyload: false, // Whether to lazy load the language list when scrolled compact: false, // Show ULS in compact mode showRegions: ['WW', 'AM', 'EU', 'ME', 'AF', 'AS', 'PA'] }; diff --git a/src/jquery.uls.lcd.js b/src/jquery.uls.lcd.js index 927f419..9fcbb7c 100644 --- a/src/jquery.uls.lcd.js +++ b/src/jquery.uls.lcd.js @@ -333,7 +333,7 @@ $.fn.lcd.defaults = { languages: null, showRegions: ['WW', 'AM', 'EU', 'ME', 'AF', 'AS', 'PA'], - lazyload: true + lazyload: false }; $.fn.lcd.Constructor = LanguageCategoryDisplay;