Don't show tipsy for an unknown language

Includes an update from upstream.

Bug: 46841
Change-Id: I5a221037af72319f2220bb54230a9549046b6024
This commit is contained in:
Amir E. Aharoni committed 2013-04-25 19:21:38 +03:00
1 parent 74941191fc
commit 6168c77924
3 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -147,7 +147,7 @@
return true;
}
if ( previousLang === currentLang ) {
if ( previousLang === currentLang || !$.uls.data.languages[previousLang] ) {
// Do not show tooltip.
return true;
}