Skip to content

Commit

Permalink
Remove width and height values from facebook query string
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandemmer committed Sep 23, 2024
1 parent a9c1a5d commit 2b50fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/com_jce/editor/tinymce/plugins/media/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@
url += 'post.php?href=';
}

defaultValues[provider].src = url + encodeURIComponent(value) + '&width=' + defaultValues[provider].width + '&height=' + defaultValues[provider].height;
defaultValues[provider].src = url + encodeURIComponent(value);
}

return defaultValues[provider];
Expand Down

0 comments on commit 2b50fd4

Please sign in to comment.