Title: bdcstr's Replies | WordPress.org

---

# bdcstr

  [  ](https://wordpress.org/support/users/bdcstr/)

 *   [Profile](https://wordpress.org/support/users/bdcstr/)
 *   [Topics Started](https://wordpress.org/support/users/bdcstr/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bdcstr/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bdcstr/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bdcstr/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bdcstr/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bdcstr/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPZOOM Connect: Social Icons Widget, Share Buttons & Click to Chat] Doesn’t work with Polylang?](https://wordpress.org/support/topic/doesnt-work-2396/)
 *  Thread Starter [bdcstr](https://wordpress.org/support/users/bdcstr/)
 * (@bdcstr)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/doesnt-work-2396/#post-12737462)
 * Duh !!
 * It was not obvious to be honest. Moreover, I’m not sure why the URL would differ
   from one language to another when related to social links. Maybe a restriction
   from Polylang?
 * Anyway, thank you 🙂
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Chaplin] Mobile Menu doesn’t work for anchor links](https://wordpress.org/support/topic/mobile-menu-doesnt-work-for-anchor-links/)
 *  [bdcstr](https://wordpress.org/support/users/bdcstr/)
 * (@bdcstr)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/mobile-menu-doesnt-work-for-anchor-links/#post-12487136)
 * Noticed the same issue. This is my **temporary-and-not-perfect** solution (so
   don’t judge me!) while waiting for the official patch.
 * 1. Go to themes/twentytwenty/assets/js/index.js
    2. Look for the `outsideUntoggle:
   function () {` (at line 135 for me) 3. Change with the following code:
 *     ```
           outsideUntoggle: function () {
               document.addEventListener('click', function (event) {
                   var target = event.target;
                   var modal = document.querySelector('.cover-modal.active');
   
                   // if target on click is <a> with # within the href attribute
                   if (event.target.tagName.toLowerCase() === 'a' && event.target.hash.includes('#')) {
                       // untoggle the modal
                       this.untoggleModal(modal);
                       // wait 550 and scroll to the anchor
                       setTimeout(function () {
                           var anchor = document.getElementById(event.target.hash.slice(1)); // 
                           anchor.scrollIntoView();
                       }, 550);
                   }
   
                   if (target === modal) {
                       this.untoggleModal(target);
                   }
               }.bind(this));
           },
       ```
   
 * 4. Hope it helps 😉
 * Cheers!
    -  This reply was modified 6 years, 3 months ago by [bdcstr](https://wordpress.org/support/users/bdcstr/).
    -  This reply was modified 6 years, 3 months ago by [bdcstr](https://wordpress.org/support/users/bdcstr/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event List] Shortcode permalink not working](https://wordpress.org/support/topic/shortcode-permalink-not-working/)
 *  [bdcstr](https://wordpress.org/support/users/bdcstr/)
 * (@bdcstr)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/shortcode-permalink-not-working/#post-10876232)
 * Works like a charm, thank you.
 * Please include in next update!

Viewing 3 replies - 1 through 3 (of 3 total)