Make return values consistent

Tipsy does not expect a return value.

Change-Id: I9172dfe18ee1dc6d7773ce861a8a8b52638bc7b6
This commit is contained in:
Siebrand Mazeland
2013-08-05 06:38:37 +02:00
committed by Siebrand
parent 68acea228f
commit e75b174b10

View File

@@ -187,7 +187,7 @@
if ( previousLang === currentLang ) {
$ulsTrigger.tipsy( { gravity: rtlPage ? 'e' : 'w' } );
return true;
return;
}
previousLanguages.push( currentLang );
@@ -198,7 +198,7 @@
if ( anonMode || !previousLang || !$.uls.data.languages[previousLang] ) {
// Do not show tooltip
return true;
return;
}
// Attach a tipsy tooltip to the trigger