add deleted condition

This commit is contained in:
marcos.alconada 2019-08-13 13:58:44 +02:00
parent a8915e13ad
commit 9310fd8dc1
1 changed files with 6 additions and 3 deletions

View File

@ -1323,9 +1323,12 @@ require 'include/php_to_js_values.php';
<script type="text/javascript" language="javascript">
// When there are less than 5 rows, all rows must be white.
if($('table.info_table tr').length < 5){
$('table.info_table tbody > tr').css('background-color', '#fff');
// When there are less than 5 rows, all rows must be white
var theme = "<?php echo $config['style']; ?>";
if(theme === 'pandora'){
if($('table.info_table tr').length < 5){
$('table.info_table tbody > tr').css('background-color', '#fff');
}
}
// When the user scrolls down 400px from the top of the document, show the