fixes #1104
Merge pull request #1140 from ractivejs/gh-1104

fixes #1104