Skip to content

Commit

Permalink
Merge pull request #71 from fusionbox/fix-highlight-here-bug
Browse files Browse the repository at this point in the history
Fix for bug in highlighthere
  • Loading branch information
julianandrews committed Jul 13, 2016
2 parents a249be3 + a2a95d7 commit 2a44b61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fusionbox/core/templatetags/fusionbox_tags.py
Expand Up @@ -37,8 +37,7 @@


def addclass(elem, cls):
elem['class'] = elem.get('class', '')
elem['class'] += ' ' + cls if elem['class'] else cls
elem['class'] = elem.get('class', []) + [cls]


def is_here(current, url):
Expand Down

0 comments on commit 2a44b61

Please sign in to comment.