diff --git a/builded.user.js b/builded.user.js index 672187d..d8a7bae 100644 --- a/builded.user.js +++ b/builded.user.js @@ -23,11 +23,9 @@ function settings() { } if (location.host == "www.guilded.gg") { console.info("Guilded.GG detected."); - $.initialize('select', function() { + $.initialize('.DesktopOptionsControl-persistent-menu', function() { + console.info("Settings opened!") console.info($(this)) - if ($(this).classList.contains("DesktopOptionsControl-persistent-menu")) { - console.info("Settings opened!") - } }); } else { document.body.innerHTML += settings_HTML;