js problem with OmniWeb

This commit is contained in:
Marc Delisle
2002-07-15 16:47:36 +00:00
parent 42c958fe0b
commit fd2ef01a11
2 changed files with 2 additions and 1 deletions

View File

@@ -133,7 +133,7 @@ $title .= (empty($title) ? '' : ' - ') . 'phpMyAdmin ' . PMA_VERSION;
<script type="text/javascript" language="javascript">
<!--
// Updates the title of the frameset if possible (ns4 does not allow this)
if (typeof(parent.document.title) == 'string') {
if (typeof(parent.document) != 'undefined' && typeof(parent.document.title) == 'string') {
parent.document.title = '<?php echo $title; ?>';
}
<?php