Closed bachandi closed 3 years ago
The enable_back_button
option uses javascript:history.back()
for two good reasons: to go back fast and to keep the changes you made in the main page (assuming you went from there).
The new option enable_mainpage_button
would be a good idea to solve the problem when you came via a bookmark or using the URL directly.
I'll work on this.
Fixed with #341
At the moment the
enable_back_button
setting adds a "back" button that only goes back in history (javascript:history.back()
). When for example accessing the monitorix daily webpage via a bookmark the back button does not bring you to the main page but any page you visited before. For this it would be very nice to add something likeenable_mainpage_button
or change the functionality of the back button to actually always reach the main page.