Skip to content

#3396703: Improve logic to handle cookies and limit how many times the behavior is attached.

Alejandro Madrigal requested to merge issue/google_translator-3396703:2.0.x into 2.x
  • Replace cookie checks with js-cookie from core
  • Added cookie when agreeing to disclaimer
  • Added once to avoid multiple attachments during page life
  • Doing swap if no disclaimer text is set

Merge request reports

Loading