• Resolved shahidul34

    (@shahidul34)


    I love this plugin and installed in many of my websites I have developed but recently I noticed that when I active this plugin I can’t select text in my websites! How I can fix it? please let me know as I need to select text in my website and copy sometime.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    I think this is going to be some sort of conflict with the gestures script, as the mousedown event is somehow blocked, and it’s not allowing the selection.

    The only way to resolve this is with a custom code I thin.
    Try adding this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!

    add_action('wp_footer', 'asl_remove_mousedown');
    function asl_remove_mousedown() {
      ?>
      <script>
      jQuery(function($) {
        setTimeout(function(){
          $('body').off('mousedown');
        }, 1000);
      });
      </script>
      <?php
    }

    Hopefully it will help.

    Thread Starter shahidul34

    (@shahidul34)

    Hi, Thanks you so much! I just added below code to the footer.php and it’s working great!

    <script>
      jQuery(function($) {
        setTimeout(function(){
          $('body').off('mousedown');
        }, 1000);
      });
      </script>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t select any text after active this plugin!’ is closed to new replies.