Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turbolinks, form input labels are in wrong place #63

Closed
ghost opened this issue Sep 29, 2015 · 2 comments
Closed

turbolinks, form input labels are in wrong place #63

ghost opened this issue Sep 29, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 29, 2015

page loaded via turbolink
https://screencloud.net/v/xghH

@mkhairi
Copy link
Owner

mkhairi commented Sep 30, 2015

hi @danielterega, this is fix for turbolink event

$(document).on 'page:change', ->
  Materialize.updateTextFields()  #reinitialize form label
  Waves.displayEffect() #reinitialize wave effect on button
  $('.dropdown-button').dropdown() #reinitialize dropdown

@ghost
Copy link
Author

ghost commented Sep 30, 2015

Thx, @mkhairi!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant