Added delete all EMS functionality RPS-11

This commit is contained in:
Patrick Fic
2020-10-26 10:22:21 -07:00
parent 89a8ad380f
commit 6359641b8c
6 changed files with 68 additions and 16 deletions

View File

@@ -21,14 +21,3 @@ ReactDOM.render(
</Provider>,
document.getElementById("root")
);
window.onkeydown = function (evt) {
// disable zooming
if (
(evt.code === "Minus" || evt.code === "Equal") &&
(evt.ctrlKey || evt.metaKey)
) {
console.log("Preventing zoom!");
evt.preventDefault();
}
};