From 07bea92346bc9a139682dfcd666b9575e00c67fa Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 19 Jan 2024 12:21:54 +0100 Subject: [PATCH] prevent the scroll of the middle click --- templates/portfolio/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/portfolio/index.html b/templates/portfolio/index.html index 9440217..d3aa640 100644 --- a/templates/portfolio/index.html +++ b/templates/portfolio/index.html @@ -68,6 +68,7 @@ break; case 1: /* Middle click */ + event.preventDefault(); backgroundtab(); break;