From 1c8253725d3e776ca854e9540cb85115a72ef926 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 16 Sep 2014 21:09:10 -0400 Subject: [PATCH] Adds accordion icon positioning into variables --- server/files/javascript/semantic.js | 4 ++-- src/definitions/modules/accordion.less | 8 ++++++++ .../packages/default/modules/accordion.overrides | 10 ---------- .../packages/default/modules/accordion.variables | 8 ++++++++ 4 files changed, 18 insertions(+), 12 deletions(-) mode change 100644 => 100755 src/themes/packages/default/modules/accordion.overrides mode change 100644 => 100755 src/themes/packages/default/modules/accordion.variables 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 += '