Okay
  Public Ticket #1105912
Website reloading on every button click
Closed

Comments

  •  2
    Ruben Schwan started the conversation

    Hello support team. We are happily using your page preloader on our website. However, we added links containing a phone number to our footer and a click on the link also triggers the preloader. The problem is, that after the number gets opened, the preloader doesn't stop spinning. You can try on your own by using our website link. As mentioned, the links are in the footer. 

    Thanks in advance to your help. Best regards!

  •  1,511
    Support Agent 1 replied

    Hi,

    Please do the following steps:

    1. Locate the misc.js file in \wp-content\themes\cargo\js themes folder on your server.

    2. Then open file and locate the following line:

    if ( location.href.split('#')[0] != href.split('#')[0] && ! href.startsWith( '#' ) && ! href.startsWith( 'mailto' ) ) {
    

    3. Please replace the line with the following:

    if ( location.href.split('#')[0] != href.split('#')[0] && ! href.startsWith( '#' ) && ! href.startsWith( 'mailto' ) && ! href.startsWith( 'callto' )  ) {
    

    4. Save the file.

    Please let us know of the results and let us know should you encounter any problems.


    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!