#925 - fix layer visibility toggle issue in firefox 27/28
Merge pull request #1040 from aodn/issue-925

#925 - fix layer visibility toggle issue in firefox 27/28