HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

MinusBaseline Theme removing responsive menu when embed comments

Open your file /themes/minusbaseline/class.minusbaselinethemehooks.php

Replace this: $sender->addAsset('Content', anchor('n', url('#'), 'Hamburger'), 'Hamburger');

For this:

$dominio= $_SERVER['HTTP_HOST'];
$url = "http://" . $dominio. $_SERVER['REQUEST_URI'];
if(strpos( $url, "/discussion/embed" ) === false) {
$sender->addAsset('Content', anchor('n', url('#'), 'Hamburger'), 'Hamburger');
}

Sign In or Register to comment.