Merge pull request #1149 from influxdata/escape-presentation

Escape presentation when using back button
pull/10616/head
Jade McGough 2017-03-31 14:45:36 -07:00 committed by GitHub
commit b11314212e
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@
1. [#1125](https://github.com/influxdata/chronograf/pull/1125): Fix visualizations not showing graph name
1. [#1133](https://github.com/influxdata/chronograf/issue/1133): Fix Enterprise Kapacitor authentication.
1. [#1142](https://github.com/influxdata/chronograf/issue/1142): Fix Kapacitor Telegram config to display correct disableNotification setting
1. [#1051](https://github.com/influxdata/chronograf/issue/1051): Exit presentation mode when using the browser back button
### Features
1. [#1112](https://github.com/influxdata/chronograf/pull/1112): Add ability to delete a dashboard

View File

@ -40,6 +40,9 @@ if (basepath) {
basename: "",
})
}
browserHistory.listen(() => {
store.dispatch(disablePresentationMode())
})
window.addEventListener('keyup', (event) => {
if (event.key === 'Escape') {