{"action":"closed","issue":{"url":"https://api.github.com/repos/patternfly/patternfly/issues/121","labels_url":"https://api.github.com/repos/patternfly/patternfly/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/patternfly/patternfly/issues/121/comments","events_url":"https://api.github.com/repos/patternfly/patternfly/issues/121/events","html_url":"https://github.com/patternfly/patternfly/issues/121","id":107658739,"number":121,"title":"Sidebar + Datatable = broken sidebar","user":{"login":"lukebrooker","id":1305265,"avatar_url":"https://avatars.githubusercontent.com/u/1305265?v=3","gravatar_id":"","url":"https://api.github.com/users/lukebrooker","html_url":"https://github.com/lukebrooker","followers_url":"https://api.github.com/users/lukebrooker/followers","following_url":"https://api.github.com/users/lukebrooker/following{/other_user}","gists_url":"https://api.github.com/users/lukebrooker/gists{/gist_id}","starred_url":"https://api.github.com/users/lukebrooker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukebrooker/subscriptions","organizations_url":"https://api.github.com/users/lukebrooker/orgs","repos_url":"https://api.github.com/users/lukebrooker/repos","events_url":"https://api.github.com/users/lukebrooker/events{/privacy}","received_events_url":"https://api.github.com/users/lukebrooker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-22T07:17:19Z","updated_at":"2015-09-22T12:50:53Z","closed_at":"2015-09-22T12:50:53Z","body":"Any reason for this code?\r\n\r\n```javascript\r\n$(document).ready(function () {\r\n  // Call sidebar() on ready if .sidebar-pf exists and .datatable does not exist\r\n  if ($('.sidebar-pf').length > 0 && $('.datatable').length === 0) {\r\n    $.fn.sidebar();\r\n  }\r\n});\r\n```\r\n\r\nWe have pages that have a sidebar and datatables and this seems to be stopping the sidebar calculate its height on those pages.\r\n\r\nSidenote: flexbox can be used to get this functionality just in CSS."}}