Commit 45a01aee authored by Hoto Cocoa's avatar Hoto Cocoa

Fix CI

parent c6230ed2
Pipeline #38022692 failed with stage
in 1 minute and 9 seconds
......@@ -643,7 +643,8 @@ class LibertyTemplate extends BaseTemplate {
?>
<li class="designedbylibre">
<a href="//librewiki.net">
<img src="<?php echo $this->getSkin()->getSkinStylePath('img/designedbylibre.png')?>" style="height:31px" alt="Designed by Librewiki">
<?php // @codingStandardsIgnoreLine ?>
<img src="<?php echo $this->getSkin()->getSkinStylePath( 'img/designedbylibre.png' ); ?>" style="height:31px" alt="Designed by Librewiki">
</a>
</li>
</ul>
......@@ -744,6 +745,7 @@ class LibertyTemplate extends BaseTemplate {
}
echo Html::closeElement( 'a' );
// @codingStandardsIgnoreLine
if ( is_array( $content['children'] ) && count( $content['children'] ) > 2 && !empty( $child['children'] ) ) {
echo Html::openElement( 'div', [
'class' => 'dropdown-menu dropdown-submenu',
......
......@@ -7,8 +7,12 @@
y = document.createElement( 'div' );
y.className = 'liberty-table-wrapper';
if ( x[ i ].clientWidth > z && x[ i ].parentNode.className !== 'liberty-table-wrapper' ) {
x[ i ].parentNode.insertBefore( y, x[ i ] ); y.appendChild( x[ i ] );
} else if ( x[ i ].clientWidth < z && x[ i ].parentNode.className === 'liberty-table-wrapper' ) { x[ i ].parentNode.parentNode.insertBefore( x[ i ], x[ i ].parentNode ); x[ i ].nextSibling.remove(); }
x[ i ].parentNode.insertBefore( y, x[ i ] );
y.appendChild( x[ i ] );
} else if ( x[ i ].clientWidth < z && x[ i ].parentNode.className === 'liberty-table-wrapper' ) {
x[ i ].parentNode.parentNode.insertBefore( x[ i ], x[ i ].parentNode );
x[ i ].nextSibling.remove();
}
}
}
window.onresize = function () { tablewrap(); };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment