Revert "FIX: use allowList helper (#82)" (#83)

This reverts commit c677e02a83.
This commit is contained in:
Krzysztof Kotlarek 2020-12-22 17:38:07 +11:00 committed by GitHub
parent c677e02a83
commit 69076dc559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ function _renderTimezonePicker(state) {
}
export function setup(helper) {
helper.allowList([
helper.whiteList([
"div.calendar",
"div.discourse-calendar-header",
"div.discourse-calendar-wrap",

View File

@ -27,7 +27,7 @@ function dasherize(input) {
}
export function setup(helper) {
helper.allowList(["div.discourse-post-event"]);
helper.whiteList(["div.discourse-post-event"]);
helper.registerOptions((opts, siteSettings) => {
opts.features.discourse_post_event =