{"action":"closed","issue":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/3059","repository_url":"https://api.github.com/repos/Dogfalo/materialize","labels_url":"https://api.github.com/repos/Dogfalo/materialize/issues/3059/labels{/name}","comments_url":"https://api.github.com/repos/Dogfalo/materialize/issues/3059/comments","events_url":"https://api.github.com/repos/Dogfalo/materialize/issues/3059/events","html_url":"https://github.com/Dogfalo/materialize/issues/3059","id":149511898,"number":3059,"title":"slider doesnt works in 'each' helper","user":{"login":"palpinter","id":8597969,"avatar_url":"https://avatars.githubusercontent.com/u/8597969?v=3","gravatar_id":"","url":"https://api.github.com/users/palpinter","html_url":"https://github.com/palpinter","followers_url":"https://api.github.com/users/palpinter/followers","following_url":"https://api.github.com/users/palpinter/following{/other_user}","gists_url":"https://api.github.com/users/palpinter/gists{/gist_id}","starred_url":"https://api.github.com/users/palpinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palpinter/subscriptions","organizations_url":"https://api.github.com/users/palpinter/orgs","repos_url":"https://api.github.com/users/palpinter/repos","events_url":"https://api.github.com/users/palpinter/events{/privacy}","received_events_url":"https://api.github.com/users/palpinter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-19T16:24:35Z","updated_at":"2016-04-25T17:28:49Z","closed_at":"2016-04-25T17:28:49Z","body":"Hi,\r\n\r\nusually the slider works as expected. but in 'each' helper i get grey box, and the slider javascript not loaded.\r\n\r\nlet's see the following jade code (in html the result same). the first slider works as expected the second doesnt. any idea?\r\n\r\n```\r\ntemplate(name=\"Home\")\r\n  .page-header\r\n    img(src=\"/icon/home.svg\")\r\n    span #{i18n 'home'}\r\n  .row\r\n    .col.l8\r\n      div.slider\r\n        ul.slides\r\n          li\r\n            img(src=\"http://lorempixel.com/580/250/nature/1\")\r\n            div.caption(class=\"caption center-align\")\r\n              h3 Title one\r\n              h5.light.grey-text.text-lighten-3 Slogan first\r\n          li\r\n            img(src=\"http://lorempixel.com/580/250/nature/2\")\r\n            div.caption(class=\"caption center-align\")\r\n              h3 Title two\r\n              h5.light.grey-text.text-lighten-3 Slogan second\r\n\r\n  .row\r\n    .col.l8\r\n      div.slider\r\n        ul.slides\r\n          each slides\r\n            li\r\n              img(src=\"/cfs/files/slides_images/{{cover}}\")\r\n              div.caption(class=\"caption center-align\")\r\n                h3 {{title}}\r\n                h5.light.grey-text.text-lighten-3 `{{subtitle}}\r\n```\r\n\r\nand the helper:\r\n\r\n```\r\nTemplate.Home.onRendered ->\r\n  $('.header').slideDown()\r\n  $('.brand').slideUp()\r\n  $('.slider').slider\r\n    full_width: true\r\n    indicators: false\r\n    height: 440\r\n\r\n```\r\nThx\r\nPaul"}}