Commit faa0be3c authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

[quickview] Use arrow functions for delete confirm dialog callbacks

Tbr: alex
Bug: 803259
Change-Id: Ib0872eea67e4d28fc01056c946b48bde04eb5159
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2035635Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#737967}
parent cbd657a9
......@@ -289,11 +289,11 @@ class QuickViewController {
event.stopPropagation();
});
this.deleteConfirmDialog_.showModalElement = function() {
this.deleteConfirmDialog_.showModalElement = () => {
dialogElement.showModal();
};
this.deleteConfirmDialog_.doneCallback = function() {
this.deleteConfirmDialog_.doneCallback = () => {
dialogElement.close();
};
}
......
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