fix buttons' bug in Firefox, #70
Merge pull request #105 from YanshuoH/buttons-ff

fix buttons' bug in Firefox, #70