diff --git a/plugins/linkProfilePicture.plugin.js b/plugins/linkProfilePicture.plugin.js index 5546122..7d6a23b 100644 --- a/plugins/linkProfilePicture.plugin.js +++ b/plugins/linkProfilePicture.plugin.js @@ -1,7 +1,7 @@ /** * @name Link-Profile-Picture * @description Lets you click users' avatars on their profile page to view a bigger version in your browser. - * @version 1.3.2 + * @version 1.3.3 * @author square * @authorLink https://betterdiscord.app/developer/square * @website https://betterdiscord.app/plugin/Link-Profile-Picture @@ -15,7 +15,7 @@ module.exports = class linkProfilePicture { document.addEventListener("click", LinkProfilePicture, true); this.stop = document.removeEventListener.bind(document, "click", LinkProfilePicture, true); function LinkProfilePicture({ target }) { - if (target.classList.contains("avatar__445f3") && target.parentElement?.parentElement?.classList.contains("header_dda341")) { + if (target.classList.contains("avatar_e1126d") && target.parentElement?.parentElement?.classList.contains("inner_e1126d")) { window.open(target.querySelector("img").src.replace(/\?.*$/, "?quality=lossless&size=4096"), "_blank"); } }