{"action":"opened","issue":{"url":"https://api.github.com/repos/tyrasd/overpass-turbo/issues/153","labels_url":"https://api.github.com/repos/tyrasd/overpass-turbo/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/tyrasd/overpass-turbo/issues/153/comments","events_url":"https://api.github.com/repos/tyrasd/overpass-turbo/issues/153/events","html_url":"https://github.com/tyrasd/overpass-turbo/issues/153","id":67368112,"number":153,"title":"\"zoom to data\" throws Syntax error in JS console","user":{"login":"tilmanb","id":779297,"avatar_url":"https://avatars.githubusercontent.com/u/779297?v=3","gravatar_id":"","url":"https://api.github.com/users/tilmanb","html_url":"https://github.com/tilmanb","followers_url":"https://api.github.com/users/tilmanb/followers","following_url":"https://api.github.com/users/tilmanb/following{/other_user}","gists_url":"https://api.github.com/users/tilmanb/gists{/gist_id}","starred_url":"https://api.github.com/users/tilmanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tilmanb/subscriptions","organizations_url":"https://api.github.com/users/tilmanb/orgs","repos_url":"https://api.github.com/users/tilmanb/repos","events_url":"https://api.github.com/users/tilmanb/events{/privacy}","received_events_url":"https://api.github.com/users/tilmanb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-09T13:58:46Z","updated_at":"2015-04-09T13:58:46Z","closed_at":null,"body":"When clicking \"auf die Daten zoomen\" the JS console displays \"SyntaxError: return not in function\".\r\n\r\nTestes using Firefox 37.0\r\n\r\nThis is probably due to js/ide.js#L344 setting href=\"javascript:return false;\".\r\n\r\nProbably it may be better to set href = '#' and then appending \"return false;\" to the onclick handlers.\r\n\r\nI am hesitant to create a pull request for that, because i am not an expert on browser compatibility issues that may arise..."}}