{"action":"created","comment":{"url":"https://api.github.com/repos/Courseography/courseography/pulls/comments/26009500","id":26009500,"diff_hunk":"@@ -183,69 +183,80 @@ function renderAddHover(time, section) {\n     }\n \n     if ($(time).attr('rowspan') !== '2'&& n !== 'H' && n !== 'E') {\n-        htime = time.slice(0) + 'H';\n-        if ($(htime).attr('clicked') !== 'true') {\n-            $(htime).html(section.courseName)\n-                .attr('hover', 'good');\n-        } else if ($(htime).html() === section.courseName &&\n-            $(htime).attr('type') === section.type) {\n-            $(htime).attr('hover', 'remove');\n-        } else {\n-            $(htime).attr('hover', 'conflict');\n-        }\n+        $(time).attr('hover', 'conflict');\n+    }\n+\n+    ptime = previousCell(time);\n+    if ($(ptime).html() !== '') {\n+        $(time).css('border-top-style', 'hidden');\n     }\n         \n }\n \n+/**\n+ * Returns the id of the timetable cell above.\n+ * @param {string} time The id of the current timetable cell.\n+ */\n+function previousCell(time) {\n+    'use strict';\n+    \n+    var n;\n+    var ptime;\n+\n+    n = time.charAt(time.length-1);\n+\n+    if (n === 'H') {\n+        ptime = time.slice(0, time.length-1);\n+        return ptime;\n+","path":"js/grid/mouse_events.js","position":107,"original_position":107,"commit_id":"76821a9d02397ec7e56dfea0c562e26f3a6e5b2d","original_commit_id":"76821a9d02397ec7e56dfea0c562e26f3a6e5b2d","user":{"login":"david-yz-liu","id":3333115,"avatar_url":"https://avatars.githubusercontent.com/u/3333115?v=3","gravatar_id":"","url":"https://api.github.com/users/david-yz-liu","html_url":"https://github.com/david-yz-liu","followers_url":"https://api.github.com/users/david-yz-liu/followers","following_url":"https://api.github.com/users/david-yz-liu/following{/other_user}","gists_url":"https://api.github.com/users/david-yz-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/david-yz-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-yz-liu/subscriptions","organizations_url":"https://api.github.com/users/david-yz-liu/orgs","repos_url":"https://api.github.com/users/david-yz-liu/repos","events_url":"https://api.github.com/users/david-yz-liu/events{/privacy}","received_events_url":"https://api.github.com/users/david-yz-liu/received_events","type":"User","site_admin":false},"body":"Remove blank line","created_at":"2015-03-08T21:47:56Z","updated_at":"2015-03-08T21:47:56Z","html_url":"https://github.com/Courseography/courseography/pull/421#discussion_r26009500","pull_request_url":"https://api.github.com/repos/Courseography/courseography/pulls/421","_links":{"self":{"href":"https://api.github.com/repos/Courseography/courseography/pulls/comments/26009500"},"html":{"href":"https://github.com/Courseography/courseography/pull/421#discussion_r26009500"},"pull_request":{"href":"https://api.github.com/repos/Courseography/courseography/pulls/421"}}},"pull_request":{"url":"https://api.github.com/repos/Courseography/courseography/pulls/421","id":30617305,"html_url":"https://github.com/Courseography/courseography/pull/421","diff_url":"https://github.com/Courseography/courseography/pull/421.diff","patch_url":"https://github.com/Courseography/courseography/pull/421.patch","issue_url":"https://api.github.com/repos/Courseography/courseography/issues/421","number":421,"state":"open","locked":false,"title":"Half hour course display & no borders","user":{"login":"foreverwander","id":10492815,"avatar_url":"https://avatars.githubusercontent.com/u/10492815?v=3","gravatar_id":"","url":"https://api.github.com/users/foreverwander","html_url":"https://github.com/foreverwander","followers_url":"https://api.github.com/users/foreverwander/followers","following_url":"https://api.github.com/users/foreverwander/following{/other_user}","gists_url":"https://api.github.com/users/foreverwander/gists{/gist_id}","starred_url":"https://api.github.com/users/foreverwander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foreverwander/subscriptions","organizations_url":"https://api.github.com/users/foreverwander/orgs","repos_url":"https://api.github.com/users/foreverwander/repos","events_url":"https://api.github.com/users/foreverwander/events{/privacy}","received_events_url":"https://api.github.com/users/foreverwander/received_events","type":"User","site_admin":false},"body":"Half hour courses now have full functionality\r\n\r\nOver one hour courses only have border around entire course block\r\n\r\nIssue: Currently half hour timetable conflicts are not displayed properly","created_at":"2015-03-06T02:55:33Z","updated_at":"2015-03-08T21:47:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d25a5dee85101c9fc09280ca8f44506706818143","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Courseography/courseography/pulls/421/commits","review_comments_url":"https://api.github.com/repos/Courseography/courseography/pulls/421/comments","review_comment_url":"https://api.github.com/repos/Courseography/courseography/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Courseography/courseography/issues/421/comments","statuses_url":"https://api.github.com/repos/Courseography/courseography/statuses/76821a9d02397ec7e56dfea0c562e26f3a6e5b2d","head":{"label":"foreverwander:timetable","ref":"timetable","sha":"76821a9d02397ec7e56dfea0c562e26f3a6e5b2d","user":{"login":"foreverwander","id":10492815,"avatar_url":"https://avatars.githubusercontent.com/u/10492815?v=3","gravatar_id":"","url":"https://api.github.com/users/foreverwander","html_url":"https://github.com/foreverwander","followers_url":"https://api.github.com/users/foreverwander/followers","following_url":"https://api.github.com/users/foreverwander/following{/other_user}","gists_url":"https://api.github.com/users/foreverwander/gists{/gist_id}","starred_url":"https://api.github.com/users/foreverwander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foreverwander/subscriptions","organizations_url":"https://api.github.com/users/foreverwander/orgs","repos_url":"https://api.github.com/users/foreverwander/repos","events_url":"https://api.github.com/users/foreverwander/events{/privacy}","received_events_url":"https://api.github.com/users/foreverwander/received_events","type":"User","site_admin":false},"repo":{"id":29117683,"name":"courseography","full_name":"foreverwander/courseography","owner":{"login":"foreverwander","id":10492815,"avatar_url":"https://avatars.githubusercontent.com/u/10492815?v=3","gravatar_id":"","url":"https://api.github.com/users/foreverwander","html_url":"https://github.com/foreverwander","followers_url":"https://api.github.com/users/foreverwander/followers","following_url":"https://api.github.com/users/foreverwander/following{/other_user}","gists_url":"https://api.github.com/users/foreverwander/gists{/gist_id}","starred_url":"https://api.github.com/users/foreverwander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foreverwander/subscriptions","organizations_url":"https://api.github.com/users/foreverwander/orgs","repos_url":"https://api.github.com/users/foreverwander/repos","events_url":"https://api.github.com/users/foreverwander/events{/privacy}","received_events_url":"https://api.github.com/users/foreverwander/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/foreverwander/courseography","description":"Courseography is a tool created by David Liu and Ian Stewart-Binks to guide students through their undergraduate careers.","fork":true,"url":"https://api.github.com/repos/foreverwander/courseography","forks_url":"https://api.github.com/repos/foreverwander/courseography/forks","keys_url":"https://api.github.com/repos/foreverwander/courseography/keys{/key_id}","collaborators_url":"https://api.github.com/repos/foreverwander/courseography/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/foreverwander/courseography/teams","hooks_url":"https://api.github.com/repos/foreverwander/courseography/hooks","issue_events_url":"https://api.github.com/repos/foreverwander/courseography/issues/events{/number}","events_url":"https://api.github.com/repos/foreverwander/courseography/events","assignees_url":"https://api.github.com/repos/foreverwander/courseography/assignees{/user}","branches_url":"https://api.github.com/repos/foreverwander/courseography/branches{/branch}","tags_url":"https://api.github.com/repos/foreverwander/courseography/tags","blobs_url":"https://api.github.com/repos/foreverwander/courseography/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/foreverwander/courseography/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/foreverwander/courseography/git/refs{/sha}","trees_url":"https://api.github.com/repos/foreverwander/courseography/git/trees{/sha}","statuses_url":"https://api.github.com/repos/foreverwander/courseography/statuses/{sha}","languages_url":"https://api.github.com/repos/foreverwander/courseography/languages","stargazers_url":"https://api.github.com/repos/foreverwander/courseography/stargazers","contributors_url":"https://api.github.com/repos/foreverwander/courseography/contributors","subscribers_url":"https://api.github.com/repos/foreverwander/courseography/subscribers","subscription_url":"https://api.github.com/repos/foreverwander/courseography/subscription","commits_url":"https://api.github.com/repos/foreverwander/courseography/commits{/sha}","git_commits_url":"https://api.github.com/repos/foreverwander/courseography/git/commits{/sha}","comments_url":"https://api.github.com/repos/foreverwander/courseography/comments{/number}","issue_comment_url":"https://api.github.com/repos/foreverwander/courseography/issues/comments{/number}","contents_url":"https://api.github.com/repos/foreverwander/courseography/contents/{+path}","compare_url":"https://api.github.com/repos/foreverwander/courseography/compare/{base}...{head}","merges_url":"https://api.github.com/repos/foreverwander/courseography/merges","archive_url":"https://api.github.com/repos/foreverwander/courseography/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/foreverwander/courseography/downloads","issues_url":"https://api.github.com/repos/foreverwander/courseography/issues{/number}","pulls_url":"https://api.github.com/repos/foreverwander/courseography/pulls{/number}","milestones_url":"https://api.github.com/repos/foreverwander/courseography/milestones{/number}","notifications_url":"https://api.github.com/repos/foreverwander/courseography/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/foreverwander/courseography/labels{/name}","releases_url":"https://api.github.com/repos/foreverwander/courseography/releases{/id}","created_at":"2015-01-12T03:55:05Z","updated_at":"2015-01-12T03:55:06Z","pushed_at":"2015-03-06T02:59:01Z","git_url":"git://github.com/foreverwander/courseography.git","ssh_url":"git@github.com:foreverwander/courseography.git","clone_url":"https://github.com/foreverwander/courseography.git","svn_url":"https://github.com/foreverwander/courseography","homepage":"","size":2538,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Courseography:half-hour","ref":"half-hour","sha":"9a63b5042fddc012c75443806d1b03789787620e","user":{"login":"Courseography","id":9721671,"avatar_url":"https://avatars.githubusercontent.com/u/9721671?v=3","gravatar_id":"","url":"https://api.github.com/users/Courseography","html_url":"https://github.com/Courseography","followers_url":"https://api.github.com/users/Courseography/followers","following_url":"https://api.github.com/users/Courseography/following{/other_user}","gists_url":"https://api.github.com/users/Courseography/gists{/gist_id}","starred_url":"https://api.github.com/users/Courseography/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Courseography/subscriptions","organizations_url":"https://api.github.com/users/Courseography/orgs","repos_url":"https://api.github.com/users/Courseography/repos","events_url":"https://api.github.com/users/Courseography/events{/privacy}","received_events_url":"https://api.github.com/users/Courseography/received_events","type":"Organization","site_admin":false},"repo":{"id":16873349,"name":"courseography","full_name":"Courseography/courseography","owner":{"login":"Courseography","id":9721671,"avatar_url":"https://avatars.githubusercontent.com/u/9721671?v=3","gravatar_id":"","url":"https://api.github.com/users/Courseography","html_url":"https://github.com/Courseography","followers_url":"https://api.github.com/users/Courseography/followers","following_url":"https://api.github.com/users/Courseography/following{/other_user}","gists_url":"https://api.github.com/users/Courseography/gists{/gist_id}","starred_url":"https://api.github.com/users/Courseography/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Courseography/subscriptions","organizations_url":"https://api.github.com/users/Courseography/orgs","repos_url":"https://api.github.com/users/Courseography/repos","events_url":"https://api.github.com/users/Courseography/events{/privacy}","received_events_url":"https://api.github.com/users/Courseography/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Courseography/courseography","description":"Courseography is a tool created by David Liu and Ian Stewart-Binks to guide students through their undergraduate careers.","fork":false,"url":"https://api.github.com/repos/Courseography/courseography","forks_url":"https://api.github.com/repos/Courseography/courseography/forks","keys_url":"https://api.github.com/repos/Courseography/courseography/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Courseography/courseography/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Courseography/courseography/teams","hooks_url":"https://api.github.com/repos/Courseography/courseography/hooks","issue_events_url":"https://api.github.com/repos/Courseography/courseography/issues/events{/number}","events_url":"https://api.github.com/repos/Courseography/courseography/events","assignees_url":"https://api.github.com/repos/Courseography/courseography/assignees{/user}","branches_url":"https://api.github.com/repos/Courseography/courseography/branches{/branch}","tags_url":"https://api.github.com/repos/Courseography/courseography/tags","blobs_url":"https://api.github.com/repos/Courseography/courseography/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Courseography/courseography/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Courseography/courseography/git/refs{/sha}","trees_url":"https://api.github.com/repos/Courseography/courseography/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Courseography/courseography/statuses/{sha}","languages_url":"https://api.github.com/repos/Courseography/courseography/languages","stargazers_url":"https://api.github.com/repos/Courseography/courseography/stargazers","contributors_url":"https://api.github.com/repos/Courseography/courseography/contributors","subscribers_url":"https://api.github.com/repos/Courseography/courseography/subscribers","subscription_url":"https://api.github.com/repos/Courseography/courseography/subscription","commits_url":"https://api.github.com/repos/Courseography/courseography/commits{/sha}","git_commits_url":"https://api.github.com/repos/Courseography/courseography/git/commits{/sha}","comments_url":"https://api.github.com/repos/Courseography/courseography/comments{/number}","issue_comment_url":"https://api.github.com/repos/Courseography/courseography/issues/comments{/number}","contents_url":"https://api.github.com/repos/Courseography/courseography/contents/{+path}","compare_url":"https://api.github.com/repos/Courseography/courseography/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Courseography/courseography/merges","archive_url":"https://api.github.com/repos/Courseography/courseography/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Courseography/courseography/downloads","issues_url":"https://api.github.com/repos/Courseography/courseography/issues{/number}","pulls_url":"https://api.github.com/repos/Courseography/courseography/pulls{/number}","milestones_url":"https://api.github.com/repos/Courseography/courseography/milestones{/number}","notifications_url":"https://api.github.com/repos/Courseography/courseography/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Courseography/courseography/labels{/name}","releases_url":"https://api.github.com/repos/Courseography/courseography/releases{/id}","created_at":"2014-02-15T22:32:22Z","updated_at":"2015-03-06T15:31:31Z","pushed_at":"2015-03-08T14:14:37Z","git_url":"git://github.com/Courseography/courseography.git","ssh_url":"git@github.com:Courseography/courseography.git","clone_url":"https://github.com/Courseography/courseography.git","svn_url":"https://github.com/Courseography/courseography","homepage":"","size":9642,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":50,"forks":13,"open_issues":50,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Courseography/courseography/pulls/421"},"html":{"href":"https://github.com/Courseography/courseography/pull/421"},"issue":{"href":"https://api.github.com/repos/Courseography/courseography/issues/421"},"comments":{"href":"https://api.github.com/repos/Courseography/courseography/issues/421/comments"},"review_comments":{"href":"https://api.github.com/repos/Courseography/courseography/pulls/421/comments"},"review_comment":{"href":"https://api.github.com/repos/Courseography/courseography/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Courseography/courseography/pulls/421/commits"},"statuses":{"href":"https://api.github.com/repos/Courseography/courseography/statuses/76821a9d02397ec7e56dfea0c562e26f3a6e5b2d"}}}}