{"action":"closed","issue":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/6551","labels_url":"https://api.github.com/repos/zurb/foundation-sites/issues/6551/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation-sites/issues/6551/comments","events_url":"https://api.github.com/repos/zurb/foundation-sites/issues/6551/events","html_url":"https://github.com/zurb/foundation-sites/issues/6551","id":75586741,"number":6551,"title":"Foundation.utils.image_loaded callback called twice","user":{"login":"maiolica","id":771265,"avatar_url":"https://avatars.githubusercontent.com/u/771265?v=3","gravatar_id":"","url":"https://api.github.com/users/maiolica","html_url":"https://github.com/maiolica","followers_url":"https://api.github.com/users/maiolica/followers","following_url":"https://api.github.com/users/maiolica/following{/other_user}","gists_url":"https://api.github.com/users/maiolica/gists{/gist_id}","starred_url":"https://api.github.com/users/maiolica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maiolica/subscriptions","organizations_url":"https://api.github.com/users/maiolica/orgs","repos_url":"https://api.github.com/users/maiolica/repos","events_url":"https://api.github.com/users/maiolica/events{/privacy}","received_events_url":"https://api.github.com/users/maiolica/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zurb/foundation-sites/labels/Foundation%205","name":"Foundation 5","color":"008cba"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-12T12:32:14Z","updated_at":"2016-01-18T23:47:44Z","closed_at":"2016-01-18T23:47:44Z","body":"Since version 5.5.2 Foundation.utils.image_loaded calls the callback function twice.\r\nHere's the code working with 5.5.1:\r\n```javascript\r\n            var imgs = $(\"#box\").find(\"img\");\r\n            Foundation.utils.image_loaded(imgs, function() {\r\n                console.log(\"Finish!\");\r\n            });\r\n```"}}