fixes #1482
Merge pull request #1536 from ractivejs/gh-1482

fixes #1482