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

dataTables沒辦法正常work part2 #30

Closed
koei1025 opened this issue Oct 5, 2015 · 2 comments
Closed

dataTables沒辦法正常work part2 #30

koei1025 opened this issue Oct 5, 2015 · 2 comments

Comments

@koei1025
Copy link

koei1025 commented Oct 5, 2015

Follow up of #28.

多虧@bih00425的幫忙,讓dataTables總算可以正常顯示,但是一波未平一波又起,又有了新問題,dataTables的jQuery在page每次開啟時都沒有work,需要我做reload page後效果才會正常。

Page reload before
image

Page reload after
image

@koei1025
Copy link
Author

koei1025 commented Oct 5, 2015

補充一下,這個頁面不是網站的首頁,而是其他功能的頁面。
我懷疑會不會是Turbolinks搞的鬼

@koei1025
Copy link
Author

koei1025 commented Oct 5, 2015

果然是Turbolinks搞的鬼,把Turbolinks從Gemfile裏移除跟把application.js裡跟Turbolinks有關的也移除後就正常了

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

No branches or pull requests

2 participants