Skip to content

Commit

Permalink
Make status text visible again in mantis 2.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone committed Mar 1, 2017
1 parent 2985ef8 commit ad11b90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions BetterStatusColors.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function register() {
$this->description = 'Make the status color more prominent';
$this->page = '';

$this->version = '1.0.1';
$this->version = '1.0.2';
$this->requires = array();

$this->author = 'Simone Tellini';
Expand Down Expand Up @@ -65,4 +65,4 @@ function hooks() {
function resources() {
echo '<script src="' . plugin_file( "BetterStatusColors.js" ) . '"></script>';
}
}
}
4 changes: 3 additions & 1 deletion files/BetterStatusColors.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jQuery( document ).ready( function()
status.parentsUntil( 'tr' ).addClass( classes[ 0 ] );
status.hide();
}

jQuery( 'td.column-status span' ).css( 'color', '#393939' );
}
} );
} );
} );

0 comments on commit ad11b90

Please sign in to comment.