Fixing ie8 html errors.

1.9.x
Julio Montoya 12 years ago
parent 9c89452f1f
commit 1153458bb9
  1. 2
      main/newscorm/learnpath.class.php

@ -2830,7 +2830,7 @@ class learnpath {
// The anchor will let us center the TOC on the currently viewed item &^D
if ($item['type'] != 'dokeos_module' && $item['type'] != 'dokeos_chapter') {
$html .= '<div class="' . $style_item . '" style="padding-left: ' . ($item['level'] * 1.5) . 'em; padding-right:' . ($item['level'] / 2) . 'em" title="' . $item['description'] . '" >';
$html .= '<a name="atoc_' . $item['id'] . '" />';
$html .= '<a name="atoc_' . $item['id'] . '" ></a>';
} else {
$html .= '<div class="' . $style_item . '" style="padding-left: ' . ($item['level'] * 2) . 'em; padding-right:' . ($item['level'] * 1.5) . 'em" title="' . $item['description'] . '" >';
}

Loading…
Cancel
Save