Don't show tipsy for an unknown language
Includes an update from upstream. Bug: 46841 Change-Id: I5a221037af72319f2220bb54230a9549046b6024
This commit is contained in:
1 parent
74941191fc
commit
6168c77924
3 files changed
+7
-2
No files matched your search
@@ -147,7 +147,7 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
if ( previousLang === currentLang ) {
|
||||
if ( previousLang === currentLang || !$.uls.data.languages[previousLang] ) {
|
||||
// Do not show tooltip.
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user