Unknown 7 years ago
parent
commit
5a9f37dc41
1 changed files with 2 additions and 2 deletions
  1. 2 2
      canvas/js/canvas.js

+ 2 - 2
canvas/js/canvas.js

@@ -2348,8 +2348,8 @@ $(document).ready(function() {
                         deleteComment(commentId);
                     });
                     
-                    // If the user is a collaborator
-                    if(userIsCollaborator === true) {
+                    // If the user is a collaborator or the owner of the canvas
+                    if(userIsCollaborator === true || canvasOwner === username) {
                         // Show the "Resolve Comments" button
                         $("div#comments-window button#comments-resolve").css("display", "block");
                     }