{"action":"created","issue":{"url":"https://api.github.com/repos/scottjehl/picturefill/issues/619","repository_url":"https://api.github.com/repos/scottjehl/picturefill","labels_url":"https://api.github.com/repos/scottjehl/picturefill/issues/619/labels{/name}","comments_url":"https://api.github.com/repos/scottjehl/picturefill/issues/619/comments","events_url":"https://api.github.com/repos/scottjehl/picturefill/issues/619/events","html_url":"https://github.com/scottjehl/picturefill/issues/619","id":124879743,"number":619,"title":"Picturefill with Bootstrap modals causes unexpected image downloads","user":{"login":"keithchu","id":185756,"avatar_url":"https://avatars.githubusercontent.com/u/185756?v=3","gravatar_id":"","url":"https://api.github.com/users/keithchu","html_url":"https://github.com/keithchu","followers_url":"https://api.github.com/users/keithchu/followers","following_url":"https://api.github.com/users/keithchu/following{/other_user}","gists_url":"https://api.github.com/users/keithchu/gists{/gist_id}","starred_url":"https://api.github.com/users/keithchu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithchu/subscriptions","organizations_url":"https://api.github.com/users/keithchu/orgs","repos_url":"https://api.github.com/users/keithchu/repos","events_url":"https://api.github.com/users/keithchu/events{/privacy}","received_events_url":"https://api.github.com/users/keithchu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scottjehl/picturefill/labels/Browser%20Bug","name":"Browser Bug","color":"d4c5f9"},{"url":"https://api.github.com/repos/scottjehl/picturefill/labels/Needs%20info","name":"Needs info","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-05T02:02:03Z","updated_at":"2016-05-16T18:18:40Z","closed_at":"2016-05-16T18:18:40Z","body":"I have two Bootstrap modals, each with an image inside that uses the `<picture>` element, with 5 sources that correspond to 5 different width breakpoints. Here are the repro steps:\r\n\r\n1. Open the first modal – the appropriate source image is loaded.\r\n2. Resize the browser to cross a breakpoint threshold — the appropriate source image is loaded for that breakpoint.\r\n3. Close the modal.\r\n4. Open the second modal — the appropriate source image is loaded.\r\n5. Resize the browser to cross a different breakpoint threshold from step 2 — the appropriate source image is loaded for that breakpoint, AND the appropriate source image from the first modal is loaded for that breakpoint.\r\n\r\nThis continues for every untriggered breakpoint, and increases with every new modal.\r\n\r\nIs there a way to unbind picturefill from an image when the modal is closed?"},"comment":{"url":"https://api.github.com/repos/scottjehl/picturefill/issues/comments/219502682","html_url":"https://github.com/scottjehl/picturefill/issues/619#issuecomment-219502682","issue_url":"https://api.github.com/repos/scottjehl/picturefill/issues/619","id":219502682,"user":{"login":"jegtnes","id":1315463,"avatar_url":"https://avatars.githubusercontent.com/u/1315463?v=3","gravatar_id":"","url":"https://api.github.com/users/jegtnes","html_url":"https://github.com/jegtnes","followers_url":"https://api.github.com/users/jegtnes/followers","following_url":"https://api.github.com/users/jegtnes/following{/other_user}","gists_url":"https://api.github.com/users/jegtnes/gists{/gist_id}","starred_url":"https://api.github.com/users/jegtnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jegtnes/subscriptions","organizations_url":"https://api.github.com/users/jegtnes/orgs","repos_url":"https://api.github.com/users/jegtnes/repos","events_url":"https://api.github.com/users/jegtnes/events{/privacy}","received_events_url":"https://api.github.com/users/jegtnes/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T18:18:40Z","updated_at":"2016-05-16T18:18:40Z","body":"Closing this one for now due to lack of updates—if this does resurface again @keithchu please feel free to re-open."}}