changeset 1265 | 7091cff2ca01 |
parent 1254 | 221d14331ebe |
child 1272 | 05b7645f12e6 |
--- a/includes/clientside/static/dropdown.js Sun Jul 25 11:15:53 2010 -0400 +++ b/includes/clientside/static/dropdown.js Sun Jul 25 11:23:09 2010 -0400 @@ -62,7 +62,7 @@ removeTextNodes(obj); var html = document.getElementsByTagName('html')[0]; - var direction = typeof(html.dir) != 'undefined' ? html.dir : 'ltr'; + var direction = typeof(html.dir) != 'undefined' && html.dir != '' ? html.dir : 'ltr'; for ( var i = 0; i < obj.childNodes.length; i++ ) {