• Resolved Camilla

    (@tixlee)


    Hello,

    Is there a way to turn off the plugin warning:

    “MojoPlug warning: This page contains element(s) blocking visibility of right Slide Panel. To fix the problem, find and remove overflow:hidden directive(s) from parent HTML element(s).”

    Basically we are using your plugin to show some contact information, but that information changes based on the time of day it is. So we have a script that figures out the time and then displays or hides the target we’re attaching the plugin to. But when the target (div with a class) is hidden our visitors get a Plugin Warning. Is there any way to turn that off?

    Thanks
    Scott

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

    (@qumos)

    Hi tixlee!
    I’m afraid there is no setting where you could easily prevent the warning popping up.

    However, you are free to remove the feature directly in the Javascript file. Note that possible future plugin upgrade will override the modified file and may need to modify it again. However I will try to handle this issue in the future update, so there will be at least easy way to turn off the message.

    Here’s how you can disable the message:
    1. Open the file /mojoplug-slide-panel/public/js/mojo-sp-public.js with any text editor
    2. Find the lines 68-69 (left panel) and 79-80 (right panel) with this text:
    if (!element.isVisible())
    alert(‘MojoPlug warning: This page contains element(s) blocking visibility of left Slide Panel. To fix the problem, find and remove overflow:hidden directive(s) from parent HTML element(s).’)
    3. Delete the lines and save the file

    This should prevent the message popping up.

    Thread Starter Camilla

    (@tixlee)

    Thank you for the info! That helps a lot. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘MojoPlugin Warning – Off/On’ is closed to new replies.