GitHub PullRequestReviewCommentEvent at 2014-05-22 05:46:25
Repository: bootstrap
Actor: fat
Payload: {"comment":{"url":"https://api.github.com/repos/twbs/bootstrap/pulls/comments/12935672","id":12935672,"diff_hunk":"@@ -268,10 +268,13 @@\n \n     if ($this.is('a')) e.preventDefault()\n \n-    Plugin.call($target, option, this)\n-    $target.one('hide.bs.modal', function () {\n-      $this.is(':visible') && $this.trigger('focus')\n+    $target.one('show.bs.modal', function (showEvent) {\n+      if (showEvent.isDefaultPrevented()) return  // only register focus restorer if modal will actually get shown\n+      $target.one('hidden.bs.modal', function () {","path":"js/modal.js","position":9,"original_position":9,"commit_id":"b058c018eba059811f0c26074b813b843cfb5cb7","original_commit_id":"b058c018eba059811f0c26074b813b843cfb5cb7","user":{"login":"fat","id":169705,"avatar_url":"https://avatars.githubusercontent.com/u/169705?","gravatar_id":"a98244cbdacaf1c0b55499466002f7a8","url":"https://api.github.com/users/fat","html_url":"https://github.com/fat","followers_url":"https://api.github.com/users/fat/followers","following_url":"https://api.github.com/users/fat/following{/other_user}","gists_url":"https://api.github.com/users/fat/gists{/gist_id}","starred_url":"https://api.github.com/users/fat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fat/subscriptions","organizations_url":"https://api.github.com/users/fat/orgs","repos_url":"https://api.github.com/users/fat/repos","events_url":"https://api.github.com/users/fat/events{/privacy}","received_events_url":"https://api.github.com/users/fat/received_events","type":"User","site_admin":false},"body":"hidden change def makes sense :+1: ","created_at":"2014-05-22T05:46:25Z","updated_at":"2014-05-22T05:46:25Z","html_url":"https://github.com/twbs/bootstrap/pull/13627#discussion_r12935672","pull_request_url":"https://api.github.com/repos/twbs/bootstrap/pulls/13627","_links":{"self":{"href":"https://api.github.com/repos/twbs/bootstrap/pulls/comments/12935672"},"html":{"href":"https://github.com/twbs/bootstrap/pull/13627#discussion_r12935672"},"pull_request":{"href":"https://api.github.com/repos/twbs/bootstrap/pulls/13627"}}}}