Merge pull request #102 from carloslfu/Remove_bug_comment

Remove resolved firefox bug comment
This commit is contained in:
Neil Fraser
2015-05-22 16:05:53 -07:00

View File

@@ -416,8 +416,6 @@ Code.init = function() {
*/
Code.initLanguage = function() {
// Set the HTML's language and direction.
// document.dir fails in Mozilla, use document.body.parentNode.dir instead.
// https://bugzilla.mozilla.org/show_bug.cgi?id=151407
var rtl = Code.isRtl();
document.head.parentElement.setAttribute('dir', rtl ? 'rtl' : 'ltr');
document.head.parentElement.setAttribute('lang', Code.LANG);