Support » Plugin: Open Social Share » This stopped pinch to zoom on ipad from working

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Weishdemon,

    Can you please provide us with the website URL where we can check the issue and help you with the solution.
    Looking forward to hear from you soon

    LoginRadius Team

    Hello.

    I am having the same issue with one of my sites.

    Hi Altclick,

    Can you please provide us with URL so that we can look into the issue and help you out with it. Looking forward to hear from you soon.

    Hi,

    Please follow the steps mentioned below to resolve the issue:
    1. Open “wp-content/plugins/simplified-social-share/LoginRadius_function.php” file in your favorite code editor.
    2. Search following code (around line number 138):

    echo $sharingScript;

    3. Place following code after the code searched above:

    ?>
    <script>
    if(typeof jQuery != ‘undefined’){
    jQuery(function(){
    jQuery(“meta[name=viewport]”).attr(‘content’, ”);
    });
    }else{
    // load jQuery dynamically
    loginRadiusLoadJquery(‘http://code.jquery.com/jquery-latest.min.js’, function(){
    jQuery(function(){
    jQuery(“meta[name=viewport]”).attr(‘content’, ”);
    });
    });
    }
    /**
    * Load script dynamically
    */
    function loginRadiusLoadJquery(url, success) {
    var script = document.createElement(‘script’);
    script.src = url;
    var head = document.getElementsByTagName(‘head’)[0],
    done = false;
    // Attach handlers for all browsers
    script.onload = script.onreadystatechange = function() {
    if (!done && (!this.readyState
    || this.readyState == ‘loaded’
    || this.readyState == ‘complete’)) {
    done = true;
    success();
    script.onload = script.onreadystatechange = null;
    head.removeChild(script);
    }
    };
    head.appendChild(script);
    }
    </script>
    <?php

    4. Save the file back. Replace existing file, if prompted.

    Hi Altclick,

    We have looked into the issue in more detail.
    Please follow the steps mentioned below to resolve the issue:
    1. Open “wp-content/plugins/simplified-social-share/LoginRadius_function.php” file in your favorite code editor.
    2. Search following code (around line number 138):

    echo $sharingScript;

    3. Place following code after the code searched above:

    ?>
    <script>
    if(typeof jQuery != 'undefined'){
    jQuery(function(){
    jQuery("meta[name=viewport]").attr('content', '');
    });
    }else{
    // load jQuery dynamically
    loginRadiusLoadJquery('http://code.jquery.com/jquery-latest.min.js', function(){
    jQuery(function(){
    jQuery("meta[name=viewport]").attr('content', '');
    });
    });
    }
    /**
    * Load script dynamically
    */
    function loginRadiusLoadJquery(url, success) {
    var script = document.createElement('script');
    script.src = url;
    var head = document.getElementsByTagName('head')[0],
    done = false;
    // Attach handlers for all browsers
    script.onload = script.onreadystatechange = function() {
     if (!done && (!this.readyState
      || this.readyState == 'loaded'
      || this.readyState == 'complete')) {
    done = true;
    success();
    script.onload = script.onreadystatechange = null;
    head.removeChild(script);
     }
    };
    head.appendChild(script);
    }
    </script>
    <?php

    4. Save the file back. Replace existing file, if prompted.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘This stopped pinch to zoom on ipad from working’ is closed to new replies.