diff --git a/resources/js/ext.uls.interface.js b/resources/js/ext.uls.interface.js index fcbb2927..926f2a0b 100644 --- a/resources/js/ext.uls.interface.js +++ b/resources/js/ext.uls.interface.js @@ -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