Fix #1079
Merge pull request #1080 from ractivejs/gh-1079

Fix #1079