Touch snapshot after refresh
This commit is contained in:
@@ -207,8 +207,8 @@ class Editor extends List {
|
||||
for (let entry of this.queryEntries('.highlight')) {
|
||||
entry.getElement().classList.toggle('highlight', false);
|
||||
}
|
||||
this.container_.setAttribute('data-arch-snapshot', '');
|
||||
this.container_.setAttribute('data-arch-refresh', '');
|
||||
this.container_.setAttribute('data-arch-snapshot', '');
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
return;
|
||||
|
||||
@@ -75,8 +75,8 @@ class EditorGroup extends EditorEntryBase {
|
||||
|
||||
case ' ':
|
||||
this.elem_.classList.toggle('highlight');
|
||||
this.elem_.setAttribute('data-arch-snapshot', '');
|
||||
this.elem_.setAttribute('data-arch-refresh', '');
|
||||
this.elem_.setAttribute('data-arch-snapshot', '');
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
break;
|
||||
|
||||
@@ -93,8 +93,8 @@ class EditorLink extends EditorEntryBase {
|
||||
|
||||
case ' ':
|
||||
this.elem_.classList.toggle('highlight');
|
||||
this.elem_.setAttribute('data-arch-snapshot', '');
|
||||
this.elem_.setAttribute('data-arch-refresh', '');
|
||||
this.elem_.setAttribute('data-arch-snapshot', '');
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user