Fixed code button not working in Firefox.