- Issue created by @Peacog
We have a requirement to close the popup automatically after a specified number of seconds have passed. Additionally the number of seconds must be different on mobile and desktop. I created a patch that adds 3 new configuration fields for desktop auto close timeout, mobile auto close timeout, and the breakpoint width in pixels at which the desktop timeout is applied. I have also applied Drupal coding standards for JavaScript, specifically that statements must be followed by a semicolon: JavaScript coding standards: Semicolons →
I am sharing the patch here in case this feature is useful to other people.
Active
3.0
Code