{"action":"created","issue":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/15484","labels_url":"https://api.github.com/repos/twbs/bootstrap/issues/15484/labels{/name}","comments_url":"https://api.github.com/repos/twbs/bootstrap/issues/15484/comments","events_url":"https://api.github.com/repos/twbs/bootstrap/issues/15484/events","html_url":"https://github.com/twbs/bootstrap/pull/15484","id":53311292,"number":15484,"title":"Fix for some edge-case scenarios where ownerDocument is null.","user":{"login":"Darkseal","id":530429,"avatar_url":"https://avatars.githubusercontent.com/u/530429?v=3","gravatar_id":"","url":"https://api.github.com/users/Darkseal","html_url":"https://github.com/Darkseal","followers_url":"https://api.github.com/users/Darkseal/followers","following_url":"https://api.github.com/users/Darkseal/following{/other_user}","gists_url":"https://api.github.com/users/Darkseal/gists{/gist_id}","starred_url":"https://api.github.com/users/Darkseal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darkseal/subscriptions","organizations_url":"https://api.github.com/users/Darkseal/orgs","repos_url":"https://api.github.com/users/Darkseal/repos","events_url":"https://api.github.com/users/Darkseal/events{/privacy}","received_events_url":"https://api.github.com/users/Darkseal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twbs/bootstrap/labels/js","name":"js","color":"ffc40d"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-03T18:25:42Z","updated_at":"2015-01-04T13:59:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/twbs/bootstrap/pulls/15484","html_url":"https://github.com/twbs/bootstrap/pull/15484","diff_url":"https://github.com/twbs/bootstrap/pull/15484.diff","patch_url":"https://github.com/twbs/bootstrap/pull/15484.patch"},"body":"ownerDocument isn't guaranteed to have value. If you do something like $(document).tooltip(), the following error will occur:\r\n\r\nUncaught TypeError: Cannot read property ‘documentElement’ of null\r\n\r\nThis additional check (with a safe fallback provided) will fix it."},"comment":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/comments/68633760","html_url":"https://github.com/twbs/bootstrap/pull/15484#issuecomment-68633760","issue_url":"https://api.github.com/repos/twbs/bootstrap/issues/15484","id":68633760,"user":{"login":"cvrebert","id":419884,"avatar_url":"https://avatars.githubusercontent.com/u/419884?v=3","gravatar_id":"","url":"https://api.github.com/users/cvrebert","html_url":"https://github.com/cvrebert","followers_url":"https://api.github.com/users/cvrebert/followers","following_url":"https://api.github.com/users/cvrebert/following{/other_user}","gists_url":"https://api.github.com/users/cvrebert/gists{/gist_id}","starred_url":"https://api.github.com/users/cvrebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvrebert/subscriptions","organizations_url":"https://api.github.com/users/cvrebert/orgs","repos_url":"https://api.github.com/users/cvrebert/repos","events_url":"https://api.github.com/users/cvrebert/events{/privacy}","received_events_url":"https://api.github.com/users/cvrebert/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T13:59:25Z","updated_at":"2015-01-04T13:59:25Z","body":"What about making `$(document).tooltip()`-without-a-`selector` instead immediately throw a meaningful error?"}}