Merge "Fix inline editor"

This commit is contained in:
Ben Rohlfs 2019-01-24 15:15:03 +00:00 committed by Gerrit Code Review
commit 1865b12967
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@
}, },
eraseEditableContentItem(key) { eraseEditableContentItem(key) {
this._storage.removeItem(key); this._storage.removeItem(this._getEditableContentKey(key));
}, },
getPreferences() { getPreferences() {

View File

@ -188,7 +188,7 @@ limitations under the License.
// eraseEditableContentItem performs as expected. // eraseEditableContentItem performs as expected.
element.eraseEditableContentItem(key); element.eraseEditableContentItem(key);
assert.isNotOk(element._storage.getItem(key)); assert.isNotOk(element._storage.getItem(computedKey));
}); });
}); });
</script> </script>