diff --git a/js/navigation.js b/js/navigation.js index 80a9fff2d..3bff4b6fa 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -80,7 +80,7 @@ function PMA_setFrameSize() pma_navi_width = PMA_getCookie('pma_navi_width'); //alert('from cookie: ' + typeof(pma_navi_width) + ' : ' + pma_navi_width); if (pma_navi_width != null) { - if (parent.document.getElementById('text_dir') == 'ltr) { + if (parent.text_dir == 'ltr') { parent.document.getElementById('mainFrameset').cols = pma_navi_width + ',*'; } else { parent.document.getElementById('mainFrameset').cols = '*,' + pma_navi_width;