Skip to content

Commit

Permalink
Merge pull request #80 from hannu/fix-sass-variables
Browse files Browse the repository at this point in the history
Fix dynamic SASS variables
  • Loading branch information
varya committed Oct 16, 2014
2 parents 6bd5011 + 633feaa commit 14d08b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/app/views/partials/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ <h4 ng-show="getLevel(section) === 'sub-sub-sub'" ng-show="" class="sg section-h
ng-repeat="mod in section.modifiers">
<h4 class="sg name">{{ mod.name | decodeHtml }}</h4>
<div class="markup"
ng-bind-html="mod.markup | setModifierClass: mod.className | setVariables: settings | unsafe ">
ng-bind-html="mod.markup | setModifierClass: mod.className | setVariables: config.settings | unsafe ">
</div>
</div>
<div
class="markup"
ng-if="!section.modifiers.length && section.markup"
ng-bind-html="section.markup | setVariables: settings | unsafe" dynamic-compile>
ng-bind-html="section.markup | setVariables: config.settings | unsafe" dynamic-compile>
</div>
<div ng-if="section.markup && section.markup != 'false'">
<pre class="sg" ng-show="section.showMarkup">
Expand Down

0 comments on commit 14d08b4

Please sign in to comment.