This commit is contained in:
Vendicated 2026-01-23 21:26:36 +01:00
parent 45f764ece4
commit 1ff4483ea9
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ export default definePlugin({
description: "Allows you to omit either width or height when opening an image modal",
patches: [
{
find: ".dimensionlessImage,",
find: "useFullWidth:!0,shouldLink:",
replacement: {
// widthAndHeightPassed = w != null && w !== 0 && h == null || h === 0
match: /(?<=\i=)(null!=\i&&0!==\i)&&(null!=\i&&0!==\i)/,

View file

@ -30,7 +30,7 @@ export default definePlugin({
patches: [
{
find: ".lostPermission)",
find: "#{intl::GUILD_OWNER}),children:",
replacement: [
{
match: /children:\[(?=.{0,300},lostPermissionTooltipText:)/,