Follow up to comments made for gr-new-diff selection

Change-Id: I80c34541ff89ed1e31009456f1df5732849d7816
This commit is contained in:
Andrew Bonventre
2016-03-20 14:16:11 -04:00
parent 7e377e0f30
commit c9733eb8f7

View File

@@ -97,8 +97,8 @@
this.customStyle['--' + side + '-user-select'] = 'text';
this.customStyle['--' + oppositeSide + '-user-select'] = 'none';
} else {
this.customStyle['--' + side + '-user-select'] = 'text';
this.customStyle['--' + oppositeSide + '-user-select'] = 'text';
this.customStyle['--left-user-select'] = 'text';
this.customStyle['--right-user-select'] = 'text';
}
this.updateStyles();
},
@@ -115,7 +115,7 @@
var doc = range.cloneContents();
var selector = '.content';
if (opt_side) {
selector += '.' + opt_side
selector += '.' + opt_side;
}
var contentEls = Polymer.dom(doc).querySelectorAll(selector);