Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
Fix issue # 16
Browse files Browse the repository at this point in the history
  • Loading branch information
mher committed Jun 18, 2014
1 parent ee1c2ba commit e981340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chartkick/templatetags/chartkick.py
Expand Up @@ -38,7 +38,7 @@ def render(self, context):
if isinstance(value, template.Variable):
self.options[name] = value.resolve(context)

options = dict(id='chart-%s' % self.id.next(), height='300px')
options = dict(id='chart-%s' % next(self.id), height='300px')
id = self.options.get('id', None) or options['id']

# apply options from chartkick.json
Expand Down

0 comments on commit e981340

Please sign in to comment.