Skip to content

Commit

Permalink
Fix unrecognized .highlight. bug #84
Browse files Browse the repository at this point in the history
  • Loading branch information
lord committed Jun 24, 2014
1 parent 0f89c96 commit e8a491c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/javascripts/app/lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ under the License.

function activateLanguage(language) {
if (!language) return;
if (language === "") return;

$(".lang-selector a").removeClass('active');
$(".lang-selector a[data-language-name='" + language + "']").addClass('active');
Expand Down

0 comments on commit e8a491c

Please sign in to comment.