fixes #1320
Merge pull request #1321 from ractivejs/gh-1320

fixes #1320