{"action":"created","issue":{"url":"https://api.github.com/repos/OwlCarousel2/OwlCarousel2/issues/1378","repository_url":"https://api.github.com/repos/OwlCarousel2/OwlCarousel2","labels_url":"https://api.github.com/repos/OwlCarousel2/OwlCarousel2/issues/1378/labels{/name}","comments_url":"https://api.github.com/repos/OwlCarousel2/OwlCarousel2/issues/1378/comments","events_url":"https://api.github.com/repos/OwlCarousel2/OwlCarousel2/issues/1378/events","html_url":"https://github.com/OwlCarousel2/OwlCarousel2/issues/1378","id":153492810,"number":1378,"title":"Linked OwlCarousel instances","user":{"login":"daviddeutsch","id":630246,"avatar_url":"https://avatars.githubusercontent.com/u/630246?v=3","gravatar_id":"","url":"https://api.github.com/users/daviddeutsch","html_url":"https://github.com/daviddeutsch","followers_url":"https://api.github.com/users/daviddeutsch/followers","following_url":"https://api.github.com/users/daviddeutsch/following{/other_user}","gists_url":"https://api.github.com/users/daviddeutsch/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddeutsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddeutsch/subscriptions","organizations_url":"https://api.github.com/users/daviddeutsch/orgs","repos_url":"https://api.github.com/users/daviddeutsch/repos","events_url":"https://api.github.com/users/daviddeutsch/events{/privacy}","received_events_url":"https://api.github.com/users/daviddeutsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-06T16:51:48Z","updated_at":"2016-05-10T17:33:03Z","closed_at":null,"body":"This seems to be one of the most requested features that pops up again and again. I'm creating this issue as a new, canonical item that I can link other issues to when I'm closing them."},"comment":{"url":"https://api.github.com/repos/OwlCarousel2/OwlCarousel2/issues/comments/218231801","html_url":"https://github.com/OwlCarousel2/OwlCarousel2/issues/1378#issuecomment-218231801","issue_url":"https://api.github.com/repos/OwlCarousel2/OwlCarousel2/issues/1378","id":218231801,"user":{"login":"odahcam","id":3942006,"avatar_url":"https://avatars.githubusercontent.com/u/3942006?v=3","gravatar_id":"","url":"https://api.github.com/users/odahcam","html_url":"https://github.com/odahcam","followers_url":"https://api.github.com/users/odahcam/followers","following_url":"https://api.github.com/users/odahcam/following{/other_user}","gists_url":"https://api.github.com/users/odahcam/gists{/gist_id}","starred_url":"https://api.github.com/users/odahcam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odahcam/subscriptions","organizations_url":"https://api.github.com/users/odahcam/orgs","repos_url":"https://api.github.com/users/odahcam/repos","events_url":"https://api.github.com/users/odahcam/events{/privacy}","received_events_url":"https://api.github.com/users/odahcam/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T17:33:03Z","updated_at":"2016-05-10T17:33:03Z","body":"@alexandrelapoux try this:\r\n\r\n``` javascript\r\nsync2.on('initialized.owl.carousel linked.to.owl.carousel', function() {\r\n    sync2.find('.owl-item.current').removeClass('current');\r\n\tvar current = sync2.find('.owl-item.active.center').length ? sync2.find('.owl-item.active.center') : sync2.find('.owl-item.active').eq(0);\r\n    current.addClass('current');\r\n});\r\n```\r\n\r\ninstead of this:\r\n``` javascript\r\nsync2.on('initialized.owl.carousel', function () { \r\n    sync2.find('.owl-item').eq(0).addClass('current');\r\n})\r\n```\r\n\r\n@daviddeutsch the plugin isn't triggering the `linked.to.owl.carousel` on startup, it should trigger this event since when the carousels are initialized the plugin links them. In fact even `initialized.owl.carousel` is being triggered on startup here."}}