You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -239,7 +239,7 @@ var underscore = _.noConflict();
239
239
varcallbackMouseover=function(event){
240
240
varrow=newRowView({el: this}),
241
241
file=row.getFile(),
242
-
line=row.getLineNumber(),
242
+
line=row.getLineNumberInDiff(),
243
243
displayLine=row.getDisplayLine();
244
244
row.replaceLineNumberCellContent('<a title="Comment on this line" href="#L'+line+'" class="bubble"><span class="ui-icon ui-icon-comment"></span></a>');
245
245
@@ -268,10 +268,10 @@ var underscore = _.noConflict();
268
268
// wrap TH content in spans so we can hide/show them
269
269
this.wrapTHsInSpans();
270
270
},
271
-
getLineByTR: function(tr){
271
+
getLineNumberInDiffByTr: function(tr){
272
272
return$.inArray(tr,this.$rows)+1;
273
273
},
274
-
getTrByLineNumber: function(line){
274
+
getTrByLineNumberInDiff: function(line){
275
275
returnthis.$rows[line-1];
276
276
},
277
277
wrapTHsInSpans: function(){
@@ -303,8 +303,8 @@ var underscore = _.noConflict();
0 commit comments