We don't need decade old JS hacks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d9ecd0832a
commit
5e5d3abaf2
|
@ -929,7 +929,7 @@ function comments_popup_script($width=400, $height=400, $file='b2commentspopup.p
|
||||||
global $b2commentspopupfile, $b2trackbackpopupfile, $b2pingbackpopupfile, $b2commentsjavascript;
|
global $b2commentspopupfile, $b2trackbackpopupfile, $b2pingbackpopupfile, $b2commentsjavascript;
|
||||||
$b2commentspopupfile = $file;
|
$b2commentspopupfile = $file;
|
||||||
$b2commentsjavascript = 1;
|
$b2commentsjavascript = 1;
|
||||||
$javascript = "<script language='javascript' type='text/javascript'>\n<!--\nfunction b2open (macagna) {\n window.open(macagna, '_blank', 'width=$width,height=$height,scrollbars=yes,status=yes');\n}\n//-->\n</script>\n";
|
$javascript = "<script language='javascript' type='text/javascript'>\nfunction b2open (macagna) {\n window.open(macagna, '_blank', 'width=$width,height=$height,scrollbars=yes,status=yes');\n}\n</script>\n";
|
||||||
echo $javascript;
|
echo $javascript;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue