Fix typo that was causing right side of diff to not render during tests
Since undefined == undefined and diff.change_type is not defined during tests, it was toggling the leftOnly class. YAY UNTYPED LANGUAGES. Change-Id: If55daa29eb7a7303ff0b55f1aff8423990947733
This commit is contained in:
parent
df384d5b75
commit
d3cc91b69a
@ -362,7 +362,7 @@ limitations under the License.
|
||||
this.$.diffContainer.classList.toggle('rightOnly',
|
||||
diff.change_type == Changes.DiffType.ADDED);
|
||||
this.$.diffContainer.classList.toggle('leftOnly',
|
||||
diff.change_type == Changes.DiffType.REMOVED);
|
||||
diff.change_type == Changes.DiffType.DELETED);
|
||||
|
||||
var initialLineNum = 0 + (diff.content.skip || 0);
|
||||
var ctx = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user