diff --git a/server/files/javascript/semantic.js b/server/files/javascript/semantic.js index fbf3c7469..26789b3c5 100755 --- a/server/files/javascript/semantic.js +++ b/server/files/javascript/semantic.js @@ -116,12 +116,12 @@ semantic.ready = function() { ? $exampleSet.index($lastExample) : $exampleSet.size(), $examples = $exampleSet.slice(firstIndex, lastIndex + 1), - activeClass = (index == 0) + activeClass = (index === 0) ? 'active ' : 'active ' ; html += '
'; - html += ' ' + $(this).text() + ''; + html += ' ' + $(this).text() + ''; html += '