jenkins-bot has submitted this change and it was merged.

Change subject: Update jquery.uls to 7b3cd3d885
......................................................................


Update jquery.uls to 7b3cd3d885

* Fix: search using API does not respect the passed language list
* Remove the reference to map block

Change-Id: Id777102a7c8e0575599b27c64839faf170dde003
---
M lib/jquery.uls/css/jquery.uls.mobile.css
M lib/jquery.uls/src/jquery.uls.languagefilter.js
2 files changed, 3 insertions(+), 6 deletions(-)

Approvals:
  Nikerabbit: Checked; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/lib/jquery.uls/css/jquery.uls.mobile.css 
b/lib/jquery.uls/css/jquery.uls.mobile.css
index 5d3e06e..18d6fe0 100644
--- a/lib/jquery.uls/css/jquery.uls.mobile.css
+++ b/lib/jquery.uls/css/jquery.uls.mobile.css
@@ -27,11 +27,6 @@
                float: left !important;
        }
 
-       .uls-mobile .uls-map-block a,
-       .uls-mobile .uls-map-block {
-               opacity: 1 !important;
-       }
-
        .uls-mobile .row {
                width: auto;
                min-width: 0;
diff --git a/lib/jquery.uls/src/jquery.uls.languagefilter.js 
b/lib/jquery.uls/src/jquery.uls.languagefilter.js
index 0b9453a..ca7a43a 100644
--- a/lib/jquery.uls/src/jquery.uls.languagefilter.js
+++ b/lib/jquery.uls/src/jquery.uls.languagefilter.js
@@ -213,7 +213,9 @@
                                                languageFilter.autofill( code, 
name );
                                        }
 
-                                       if ( languageFilter.render( code ) ) {
+                                       if ( languageFilter.options.languages[ 
code ] &&
+                                               languageFilter.render( code )
+                                       ) {
                                                languageFilter.resultCount++;
                                        }
                                } );

-- 
To view, visit https://gerrit.wikimedia.org/r/281911
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id777102a7c8e0575599b27c64839faf170dde003
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to