mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Timeline was wrong sometimes on iPad
This commit is contained in:
parent
4b82d4fb15
commit
02ab2706df
@ -14,12 +14,15 @@ let _dirty = {};
|
|||||||
export function keyDirty(key, options) {
|
export function keyDirty(key, options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
options.dirty = true;
|
options.dirty = true;
|
||||||
|
|
||||||
_dirty[key] = options;
|
_dirty[key] = options;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function renderedKey(key) {
|
export function renderedKey(key) {
|
||||||
delete _dirty[key];
|
if (key === '*') {
|
||||||
|
_dirty = {};
|
||||||
|
} else {
|
||||||
|
delete _dirty[key];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export function queryRegistry(name) {
|
export function queryRegistry(name) {
|
||||||
|
Loading…
Reference in New Issue
Block a user