diff --git a/app/assets/javascripts/discourse/widgets/widget.js.es6 b/app/assets/javascripts/discourse/widgets/widget.js.es6 index 94c798741ff..23dc15d639c 100644 --- a/app/assets/javascripts/discourse/widgets/widget.js.es6 +++ b/app/assets/javascripts/discourse/widgets/widget.js.es6 @@ -14,12 +14,15 @@ let _dirty = {}; export function keyDirty(key, options) { options = options || {}; options.dirty = true; - _dirty[key] = options; } export function renderedKey(key) { - delete _dirty[key]; + if (key === '*') { + _dirty = {}; + } else { + delete _dirty[key]; + } } export function queryRegistry(name) {