Ignore:
Timestamp:
2022-02-03T15:55:41+13:00 (2 years ago)
Author:
cstephen
Message:

Prevent self-closing tidyDiv

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/document.xsl

    r36041 r36050  
    634634        <xsl:choose>
    635635          <xsl:when test="metadataList/metadata[@name = 'Screen'] and metadataList/metadata[@name = 'SourceFile'] and ($imageWidth div $screenImageWidth > 1.2) and (not(/page/pageResponse/format[@type='display']/gsf:option[@name='disableZoom']) or /page/pageResponse/format[@type='display']/gsf:option[@name='disableZoom']/@value='false')">
    636             <div id="tidyDiv"/>
     636            <gsf:div id="tidyDiv" />
    637637            <!-- adding a div with clear:both when the image doesn't nicely fit in beside the side bar. Otherwise, the divs stays up, but the image moves down and everything looks and acts weird. -->
    638638            <script type="text/javascript">
Note: See TracChangeset for help on using the changeset viewer.