should not be a const

This commit is contained in:
Sam 2018-05-24 15:42:00 +10:00
parent 53b97b28f0
commit 4fef9e95d2

View File

@ -14,7 +14,7 @@ import { popupAjaxError } from 'discourse/lib/ajax-error';
import { spinnerHTML } from 'discourse/helpers/loading-spinner'; import { spinnerHTML } from 'discourse/helpers/loading-spinner';
import { userPath } from 'discourse/lib/url'; import { userPath } from 'discourse/lib/url';
const customPostMessageCallbacks = {}; let customPostMessageCallbacks = {};
export function resetCustomPostMessageCallbacks() { export function resetCustomPostMessageCallbacks() {
customPostMessageCallbacks = {}; customPostMessageCallbacks = {};