fix wiki hide button not working in firefox (STUD-1581)

`srcElement` is apparently only supported by [IE](http://www.quirksmode.org/js/events_properties.html)

@zubair-arbi 
@andy-armstrong