diff --git a/gradebookng/tool/src/webapp/scripts/gradebook-grades.js b/gradebookng/tool/src/webapp/scripts/gradebook-grades.js index 92966e0dccbf..3d33bfd7209c 100644 --- a/gradebookng/tool/src/webapp/scripts/gradebook-grades.js +++ b/gradebookng/tool/src/webapp/scripts/gradebook-grades.js @@ -563,9 +563,8 @@ GradebookSpreadsheet.prototype.setupFixedColumns = function() { }); // Clicks on the fixed column return you to the real column cell - self.$fixedColumns.find("td").on("mousedown", function(event) { + self.$fixedColumns.find("td,th").on("mousedown", function(event) { event.preventDefault(); - self.$spreadsheet.scrollLeft(0); var cellIndex = $(this).index(); var rowIndex = $(this).closest("tr").index(); $targetCell = $($(self.$table.find("> tbody > tr").get(rowIndex)).find("> *").get(cellIndex)); @@ -2583,4 +2582,4 @@ $(function() { sakai.gradebookng = { spreadsheet: new GradebookSpreadsheet($("#gradebookGrades")) }; -}); \ No newline at end of file +});