PolyGerrit: Fix selecting schema to git clone from in gr-download-commands

Bug: Issue 7386
Change-Id: I74dff5d993390bc16f54aad54303bc83f2456b37
This commit is contained in:
Paladox none
2017-10-10 14:25:09 +00:00
parent 63bf105c3b
commit 0ecbaaeddf

View File

@@ -64,7 +64,7 @@
_handleSchemeTap(e) {
e.preventDefault();
const el = Polymer.dom(e).rootTarget;
const el = e.currentTarget;
this.selectedScheme = el.getAttribute('data-scheme');
if (this._loggedIn) {
this.$.restAPI.savePreferences({download_scheme: this.selectedScheme});