Follow up to comments made for gr-new-diff selection
Change-Id: I80c34541ff89ed1e31009456f1df5732849d7816
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user