{"action":"created","issue":{"url":"https://api.github.com/repos/circlingthesun/angular-foundation-6/issues/38","repository_url":"https://api.github.com/repos/circlingthesun/angular-foundation-6","labels_url":"https://api.github.com/repos/circlingthesun/angular-foundation-6/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/circlingthesun/angular-foundation-6/issues/38/comments","events_url":"https://api.github.com/repos/circlingthesun/angular-foundation-6/issues/38/events","html_url":"https://github.com/circlingthesun/angular-foundation-6/issues/38","id":194554722,"number":38,"title":"Dropdown toggle with nested span","user":{"login":"marcobarcaro","id":4013410,"avatar_url":"https://avatars.githubusercontent.com/u/4013410?v=3","gravatar_id":"","url":"https://api.github.com/users/marcobarcaro","html_url":"https://github.com/marcobarcaro","followers_url":"https://api.github.com/users/marcobarcaro/followers","following_url":"https://api.github.com/users/marcobarcaro/following{/other_user}","gists_url":"https://api.github.com/users/marcobarcaro/gists{/gist_id}","starred_url":"https://api.github.com/users/marcobarcaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcobarcaro/subscriptions","organizations_url":"https://api.github.com/users/marcobarcaro/orgs","repos_url":"https://api.github.com/users/marcobarcaro/repos","events_url":"https://api.github.com/users/marcobarcaro/events{/privacy}","received_events_url":"https://api.github.com/users/marcobarcaro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-09T09:54:41Z","updated_at":"2016-12-09T10:27:02Z","closed_at":null,"body":"If dropdown toggle has nested span like: \r\n```html<div class=\"button-group\">\r\n\t<a href=\"#\" title=\"\" class=\"button small\">Void</a>\r\n\t<dropdown-toggle close-on-click=\"true\" pane-align=\"center\">\r\n\t\t<toggle>\r\n\t\t\t<a href=\"javascript:;\" title=\"\" class=\"dropdown button arrow-only\">\r\n\t\t\t\t<span class=\"show-for-sr\">Show menu</span>\r\n\t\t\t</a>\r\n\t\t</toggle>\r\n\t\t<pane>\r\n\t\t\t<ul class=\"no-bullet text-center\">\r\n\t\t\t\t<li><a href=\"#\" title=\"\"><span class=\"fi-page\"></span></a></li>\r\n\t\t\t\t<li><a href=\"#\" title=\"\"><span class=\"fi-x\"></span></a></li>\r\n\t\t\t</ul>\r\n\t\t</pane>\r\n\t</dropdown-toggle>\r\n</div>\r\n```\r\n\r\n\r\nthe directive add again the relative code for showing arrows etc. The problem is in this selector:\r\n```\r\n$transclude(function (clone, tScope) {\r\n        $element.find('span').append(clone);\r\n    }, $element.parent(), 'toggle');\r\n```\r\n\r\n\r\nMaybe it should be:\r\n\r\n``` \r\n$transclude(function (clone, tScope) {\r\n        $element.find('span:first').append(clone);\r\n    }, $element.parent(), 'toggle');\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/circlingthesun/angular-foundation-6/issues/comments/265981793","html_url":"https://github.com/circlingthesun/angular-foundation-6/issues/38#issuecomment-265981793","issue_url":"https://api.github.com/repos/circlingthesun/angular-foundation-6/issues/38","id":265981793,"user":{"login":"marcobarcaro","id":4013410,"avatar_url":"https://avatars.githubusercontent.com/u/4013410?v=3","gravatar_id":"","url":"https://api.github.com/users/marcobarcaro","html_url":"https://github.com/marcobarcaro","followers_url":"https://api.github.com/users/marcobarcaro/followers","following_url":"https://api.github.com/users/marcobarcaro/following{/other_user}","gists_url":"https://api.github.com/users/marcobarcaro/gists{/gist_id}","starred_url":"https://api.github.com/users/marcobarcaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcobarcaro/subscriptions","organizations_url":"https://api.github.com/users/marcobarcaro/orgs","repos_url":"https://api.github.com/users/marcobarcaro/repos","events_url":"https://api.github.com/users/marcobarcaro/events{/privacy}","received_events_url":"https://api.github.com/users/marcobarcaro/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T10:27:02Z","updated_at":"2016-12-09T10:27:02Z","body":"Done!"}}
{"actor":{"display_login":"marcobarcaro"}}