remove useless code introduced in an attempt to fix Chrome bug SWC-1486
Merge pull request #1030 from jay-hodgson/develop

remove useless code introduced in an attempt to fix Chrome bug SWC-1486