Skip to content

Commit a27cde4

Browse files
committed
Replaced deprecated Range method setComment() with setNote()
1 parent 5b1b706 commit a27cde4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HeaderRow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ HeaderRow.prototype = {
3636
},
3737
addCommentToColumn: function (comment, headerRowColumnNumber) {
3838
var cellToComment = this.headerRowRange.getCell(1, headerRowColumnNumber);
39-
cellToComment.setComment(comment);
39+
cellToComment.setNote(comment);
4040
},
4141
addColumnTitlesToHeaderRow: function () {
4242
var i,

0 commit comments

Comments
 (0)