mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Remove unnecessary script type attribute
This commit is contained in:
parent
c37ae01923
commit
7d5c37f1f9
1 changed files with 3 additions and 3 deletions
|
|
@ -1570,7 +1570,7 @@ function alertScript($msg)
|
||||||
{
|
{
|
||||||
if($msg)
|
if($msg)
|
||||||
{
|
{
|
||||||
echo sprintf('<script type="text/javascript"> alert(%s); </script>', json_encode(@strval($msg)));
|
echo sprintf('<script> alert(%s); </script>', json_encode(@strval($msg)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1581,7 +1581,7 @@ function alertScript($msg)
|
||||||
*/
|
*/
|
||||||
function closePopupScript()
|
function closePopupScript()
|
||||||
{
|
{
|
||||||
echo '<script type="text/javascript"> window.open("", "_self", ""); window.close(); </script>';
|
echo '<script> window.open("", "_self", ""); window.close(); </script>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -1593,7 +1593,7 @@ function closePopupScript()
|
||||||
function reload($isOpener = FALSE)
|
function reload($isOpener = FALSE)
|
||||||
{
|
{
|
||||||
$reloadScript = $isOpener ? 'window.opener.location.reload();' : 'window.location.reload();';
|
$reloadScript = $isOpener ? 'window.opener.location.reload();' : 'window.location.reload();';
|
||||||
echo sprintf('<script type="text/javascript"> %s </script>', $raloadScript);
|
echo sprintf('<script> %s </script>', $raloadScript);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* End of file func.inc.php */
|
/* End of file func.inc.php */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue