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

E gặp vấn đề tự động thêm jquery vào khi có thẻ body, và code style trong noscript bị nhảy ra ngoài ạ #3709

Closed
hades-1997 opened this issue Dec 18, 2023 · 3 comments

Comments

@hades-1997
Copy link

hades-1997 commented Dec 18, 2023

  • <script src=" jquery.min.js"></script> tự động thêm vào sau thẻ body
  • khi e thêm <noscript> <style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style> </noscript> thì thẻ style amp-boilerplate bị nhảy ra khỏi noscript
@anhtunguyen
Copy link
Contributor

@hades-1997

  • Vấn đề tự động thêm jquery: Nếu bạn không muốn tự động thêm jquery, hãy mở file includes/footer.php, tìm đến: $optimizer->process(); và thay bằng $optimizer->process(false);. Hoặc nói chung bạn tìm kiếm tất cả các chỗ có từ khóa $optimizer->process( và thay bằng $optimizer->process(false
  • Vấn đề nội dung trong <noscript></noscript> bị nhảy ra ngoài: Đúng là có lỗi này. Chúng tôi sẽ đưa ra bản vá lỗi sớm

@anhtunguyen
Copy link
Contributor

@hades-1997 Bạn cập nhật lại mã nguồn nhé

@hades-1997
Copy link
Author

@hades-1997 Bạn cập nhật lại mã nguồn nhé

image
Dạ e làm được rồi ạ. cảm ơn a nhiều ạ.

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

3 participants