From 087111bd04fd2fc95609799ba7be7f065bd9bc21 Mon Sep 17 00:00:00 2001 From: buzzcode2007 <73412182+buzz_lightsnack_2007@users.noreply.github.com> Date: Tue, 2 Apr 2024 14:20:24 +0800 Subject: [PATCH] add wave effect to links --- gui/scripts/windowman.JS | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gui/scripts/windowman.JS b/gui/scripts/windowman.JS index 5ce6d6e..4a9c440 100644 --- a/gui/scripts/windowman.JS +++ b/gui/scripts/windowman.JS @@ -90,6 +90,11 @@ class windowman { button.classList.add(`waves-effect`); } }) + document.querySelectorAll(`a`).forEach((button) => { + if (!button.classList.contains(`waves-effect`)) { + button.classList.add(`waves-effect`); + } + }) }