mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:19:27 +08:00
DEV: allows to import decorateGithubOneboxBody (#15349)
This commit is contained in:
parent
022dba4727
commit
afdc01a8d8
|
@ -2,7 +2,7 @@ import { withPluginApi } from "discourse/lib/plugin-api";
|
|||
|
||||
let _showMoreClickPostsElements = [];
|
||||
|
||||
function decorateGithubOneboxBody(element) {
|
||||
export function decorateGithubOneboxBody(element) {
|
||||
const containers = element.querySelectorAll(
|
||||
".onebox.githubcommit .show-more-container, .onebox.githubpullrequest .show-more-container, .onebox.githubissue .show-more-container"
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user