{"action":"created","issue":{"url":"https://api.github.com/repos/djett41/ionic-content-banner/issues/10","labels_url":"https://api.github.com/repos/djett41/ionic-content-banner/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/djett41/ionic-content-banner/issues/10/comments","events_url":"https://api.github.com/repos/djett41/ionic-content-banner/issues/10/events","html_url":"https://github.com/djett41/ionic-content-banner/issues/10","id":102920828,"number":10,"title":"TypeError: Cannot read property 'querySelector' of undefined","user":{"login":"hughred22","id":2126155,"avatar_url":"https://avatars.githubusercontent.com/u/2126155?v=3","gravatar_id":"","url":"https://api.github.com/users/hughred22","html_url":"https://github.com/hughred22","followers_url":"https://api.github.com/users/hughred22/followers","following_url":"https://api.github.com/users/hughred22/following{/other_user}","gists_url":"https://api.github.com/users/hughred22/gists{/gist_id}","starred_url":"https://api.github.com/users/hughred22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughred22/subscriptions","organizations_url":"https://api.github.com/users/hughred22/orgs","repos_url":"https://api.github.com/users/hughred22/repos","events_url":"https://api.github.com/users/hughred22/events{/privacy}","received_events_url":"https://api.github.com/users/hughred22/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-25T00:34:05Z","updated_at":"2015-08-27T15:55:59Z","closed_at":null,"body":"I have the ionic content banner in a side menu content view. And it throw error: \r\nTypeError: Cannot read property 'querySelector' of undefined\r\n\r\nIt regard to this line of code: getActiveView(body).querySelector('.scroll-content').appendChild(element[0]); line 149\r\n\r\nWhat is going wrong? Could you fix that? "},"comment":{"url":"https://api.github.com/repos/djett41/ionic-content-banner/issues/comments/135476802","html_url":"https://github.com/djett41/ionic-content-banner/issues/10#issuecomment-135476802","issue_url":"https://api.github.com/repos/djett41/ionic-content-banner/issues/10","id":135476802,"user":{"login":"davej","id":26971,"avatar_url":"https://avatars.githubusercontent.com/u/26971?v=3","gravatar_id":"","url":"https://api.github.com/users/davej","html_url":"https://github.com/davej","followers_url":"https://api.github.com/users/davej/followers","following_url":"https://api.github.com/users/davej/following{/other_user}","gists_url":"https://api.github.com/users/davej/gists{/gist_id}","starred_url":"https://api.github.com/users/davej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davej/subscriptions","organizations_url":"https://api.github.com/users/davej/orgs","repos_url":"https://api.github.com/users/davej/repos","events_url":"https://api.github.com/users/davej/events{/privacy}","received_events_url":"https://api.github.com/users/davej/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T15:55:59Z","updated_at":"2015-08-27T15:55:59Z","body":"FYI: This can also happen when you try to show a banner before the active view (`ion-view[nav-view=\"active\"]`) is in the DOM."}}