Commit 68dbb215 authored by Phil Hughes's avatar Phil Hughes

Stop search clear button clearing milestone

parent e104cb4d
...@@ -202,6 +202,8 @@ ...@@ -202,6 +202,8 @@
[].forEach.call(this.tokensContainer.children, (t) => { [].forEach.call(this.tokensContainer.children, (t) => {
if (t.classList.contains('js-visual-token')) { if (t.classList.contains('js-visual-token')) {
if (this.canEdit && !this.canEdit(t)) return;
removeElements.push(t); removeElements.push(t);
} }
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment