Commit 45260b34 authored by Martin Lees's avatar Martin Lees
Browse files

Removal of the sandboxed iframe as it was useless

parent a5e93c6a
......@@ -128,7 +128,7 @@ class Steempress_sp_Public {
$data .= "<div name=\"steempress_sp_tag\" style=\"display: none;\">" . $tag . "</div>";
if (is_front_page())
$steempress = "<iframe sandbox='allow-popups allow-scripts allow-same-origin' src=\"http://localhost:8002/?tag=".$tag."&author=".$username."&permlink=".$permlink."&display_comment=false\" style=\"border: 0; width: 100%; height: 83px;\"></iframe>";
$steempress = "<iframe sandbox='allow-popups allow-scripts allow-same-origin ' src=\"http://localhost:8002/?tag=".$tag."&author=".$username."&permlink=".$permlink."&display_comment=false\" style=\"border: 0; width: 100%; height: 83px;\"></iframe>";
else
$steempress = "<iframe sandbox='allow-popups allow-scripts allow-same-origin' src=\"http://localhost:8002/?tag=".$tag."&author=".$username."&permlink=".$permlink."&display_comment=true\" style=\"border: 0; width: 100%; height: 500px\"></iframe>";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment