{"action":"created","issue":{"url":"https://api.github.com/repos/FrDH/jQuery.dotdotdot/issues/132","repository_url":"https://api.github.com/repos/FrDH/jQuery.dotdotdot","labels_url":"https://api.github.com/repos/FrDH/jQuery.dotdotdot/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/FrDH/jQuery.dotdotdot/issues/132/comments","events_url":"https://api.github.com/repos/FrDH/jQuery.dotdotdot/issues/132/events","html_url":"https://github.com/FrDH/jQuery.dotdotdot/issues/132","id":264432428,"number":132,"title":"Bug when used with flexslider","user":{"login":"Chryogenic","id":12728043,"avatar_url":"https://avatars2.githubusercontent.com/u/12728043?v=4","gravatar_id":"","url":"https://api.github.com/users/Chryogenic","html_url":"https://github.com/Chryogenic","followers_url":"https://api.github.com/users/Chryogenic/followers","following_url":"https://api.github.com/users/Chryogenic/following{/other_user}","gists_url":"https://api.github.com/users/Chryogenic/gists{/gist_id}","starred_url":"https://api.github.com/users/Chryogenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chryogenic/subscriptions","organizations_url":"https://api.github.com/users/Chryogenic/orgs","repos_url":"https://api.github.com/users/Chryogenic/repos","events_url":"https://api.github.com/users/Chryogenic/events{/privacy}","received_events_url":"https://api.github.com/users/Chryogenic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-11T01:55:05Z","updated_at":"2017-10-11T20:39:42Z","closed_at":null,"author_association":"NONE","body":"I'm trying to use this with a JS flexslider that auto plays through various images and text.\r\nTo change slides there is a timer that simply changes the z-index and opacity of the next image.\r\n\r\nThe library works fine, however if the slide changes while dotdotdot is watching and the window is resized, I get the following error every second in the console:\r\n> Uncaught TypeError: Cannot read property 'width' of undefined at t.(anonymous function)._watchSizes.\r\n\r\nI was using the following\r\n\r\n**JS**\r\n```\r\n$(document).ready(function () {\r\n\r\n        $(\".test\").dotdotdot({\r\n\r\n            ellipsis: \"\\u2026 \",\r\n          \r\n            truncate: \"word\",\r\n          \r\n            keep: null,\r\n          \r\n            watch: \"true\",\r\n          \r\n            tolerance: 40\r\n          });\r\n    });\r\n```"},"comment":{"url":"https://api.github.com/repos/FrDH/jQuery.dotdotdot/issues/comments/335941215","html_url":"https://github.com/FrDH/jQuery.dotdotdot/issues/132#issuecomment-335941215","issue_url":"https://api.github.com/repos/FrDH/jQuery.dotdotdot/issues/132","id":335941215,"user":{"login":"FrDH","id":1387163,"avatar_url":"https://avatars0.githubusercontent.com/u/1387163?v=4","gravatar_id":"","url":"https://api.github.com/users/FrDH","html_url":"https://github.com/FrDH","followers_url":"https://api.github.com/users/FrDH/followers","following_url":"https://api.github.com/users/FrDH/following{/other_user}","gists_url":"https://api.github.com/users/FrDH/gists{/gist_id}","starred_url":"https://api.github.com/users/FrDH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrDH/subscriptions","organizations_url":"https://api.github.com/users/FrDH/orgs","repos_url":"https://api.github.com/users/FrDH/repos","events_url":"https://api.github.com/users/FrDH/events{/privacy}","received_events_url":"https://api.github.com/users/FrDH/received_events","type":"User","site_admin":false},"created_at":"2017-10-11T20:39:42Z","updated_at":"2017-10-11T20:39:42Z","author_association":"OWNER","body":"My guess is, the plugin looses the reference to the \".test\" node when the slider moves the slide in the HTML. Is there an online example I could have a look at?"}}
{"actor":{"display_login":"FrDH"}}