Make return values consistent
Tipsy does not expect a return value. Change-Id: I9172dfe18ee1dc6d7773ce861a8a8b52638bc7b6
This commit is contained in:
committed by
Siebrand
parent
68acea228f
commit
e75b174b10
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user