fixes #1314
Merge pull request #1316 from ractivejs/gh-1314

fixes #1314