summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/main.js
AgeCommit message (Collapse)Author
2024-03-22updated copyright dateMaxim Devaev
2023-05-27Fix crash on unload (#136)Adam Outler
* Fix crash on unload Within main, exists a `window.beforeunload` handler which brings up the "Are you sure you want to close PiKVM session?" message. When the page is refreshed, the event is `undefined` and, the code which sets the `event.returnValue` to the aforementioned text provides an exception. To reproduce: 1. Open KVMD web 2. Open developer tools to view Console. 3. Interact with the page by clicking the main window. 4. Refresh the page 5. Observe type error in console. This patch checks if the event is defined before attempting to set the `event.returnValue`. Other functions are maintained. * Add space
2023-05-27copyright updateMaxim Devaev
2022-11-18web: ui configMaxim Devaev
2022-10-16fixed browser detection, loading css from jsMaxim Devaev
2022-09-01pikvm/pikvm#813: optional page close confirmationMaxim Devaev
2022-01-07copyright bumpMaxim Devaev
2021-09-08small rebrandingMaxim Devaev
2021-07-29refactoringMaxim Devaev
2021-04-13refactoringDevaev Maxim
2021-01-07update copyDevaev Maxim
2019-07-17use strictDevaev Maxim
2019-07-13using js modulesDevaev Maxim
2019-04-27url refactoringDevaev Maxim
2019-04-25refactoringDevaev Maxim
2019-04-11prevent ctrl+w kvm sessionDevaev Maxim
2019-03-18fixed copyrightDevaev Maxim
2019-02-18licenseDevaev Maxim
2018-12-15own authDevaev Maxim