{"action":"closed","issue":{"url":"https://api.github.com/repos/NUKnightLab/TimelineJS3/issues/296","labels_url":"https://api.github.com/repos/NUKnightLab/TimelineJS3/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/NUKnightLab/TimelineJS3/issues/296/comments","events_url":"https://api.github.com/repos/NUKnightLab/TimelineJS3/issues/296/events","html_url":"https://github.com/NUKnightLab/TimelineJS3/issues/296","id":114326492,"number":296,"title":"doctype for html5 ruins timeline","user":{"login":"ipepe","id":10695953,"avatar_url":"https://avatars.githubusercontent.com/u/10695953?v=3","gravatar_id":"","url":"https://api.github.com/users/ipepe","html_url":"https://github.com/ipepe","followers_url":"https://api.github.com/users/ipepe/followers","following_url":"https://api.github.com/users/ipepe/following{/other_user}","gists_url":"https://api.github.com/users/ipepe/gists{/gist_id}","starred_url":"https://api.github.com/users/ipepe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipepe/subscriptions","organizations_url":"https://api.github.com/users/ipepe/orgs","repos_url":"https://api.github.com/users/ipepe/repos","events_url":"https://api.github.com/users/ipepe/events{/privacy}","received_events_url":"https://api.github.com/users/ipepe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-30T18:20:10Z","updated_at":"2015-10-30T21:12:57Z","closed_at":"2015-10-30T21:12:57Z","body":"I am trying to fit timeline into my rails app and I have problem, when there is ```<!DOCTYPE html>``` at beginning of my html file. Timeline is flat and javascript console for ```timeline.options.height``` is 1\r\n\r\nI am using firefox 41.0.2 on MaxOS. I also tried jquery 1.x and 2.x\r\n\r\nHere is my example html file:\r\n```html\r\n<!-- uncomment me to ruin timeline <!DOCTYPE html> -->\r\n<html>\r\n<head>\r\n\t<script type=\"text/javascript\" src=\"https://code.jquery.com/jquery-1.11.3.min.js\"></script>\r\n\t<link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.knightlab.com/libs/timeline3/latest/css/timeline.css\">\r\n\t<script type=\"text/javascript\" src=\"https://cdn.knightlab.com/libs/timeline3/latest/js/timeline.js\"></script>\r\n</head>\r\n\r\n<body>\r\n\t<script type=\"text/javascript\">\r\n\t$().ready(function(){\r\n\t\twindow.timeline = new TL.Timeline('my-timeline', '1cWqQBZCkX9GpzFtxCWHoqFXCHg-ylTVUWlnrdYMzKUI');\r\n\t});\r\n\t</script>\r\n\t<div id=\"my-timeline\"></div>\r\n\r\n</body>\r\n</html>\r\n```\r\nAny help on this issue?"}}