fixes #1390
Merge pull request #1410 from ractivejs/gh-1390

fixes #1390