Issue 223 - Bug - button.js detailButtonAction error.

This is a pull-request for https://github.com/evanxd/travis-reporter/issues/223.