Solved XF.DescLoader loses data if only one element is returned

  • Thread starter DragonByte Tech
  • Start date
This topic has been solved
D

DragonByte Tech

Guest
Problem: If XF.DescLoader returns only one parent HTML element, f.ex.
HTML:

Code:
                <dl class="pairs pairs--columns pairs--fixedSmall pairs--customField" data-field="min_platform_version">
                    <dt>Minimum Platform Version</dt>
                    <dd>2.2.0</dd>
                </dl>
The wrapper <dl> will be lost due to containerEl.innerHTML = html.innerHTML in onLoad, which causes the resulting display to look different. This line...

Read more

Continue reading...