From ef45ac0c05501b3ec0859e321ec4bd2b96fced93 Mon Sep 17 00:00:00 2001 From: Taka Date: Sat, 26 Jan 2019 11:12:15 +0000 Subject: [PATCH] Show player scenario notes without colors. --- vasl_templates/webapp/static/utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vasl_templates/webapp/static/utils.js b/vasl_templates/webapp/static/utils.js index b4a3049..53d4b3a 100644 --- a/vasl_templates/webapp/static/utils.js +++ b/vasl_templates/webapp/static/utils.js @@ -25,6 +25,8 @@ function get_player_colors( player_no ) function get_player_colors_for_element( $elem ) { // get the player colors (if any) for the specified element + if ( $elem.attr( "id" ).substr( 0, 18 ) === "ob_notes-sortable_" ) + return null ; var player_no = get_player_no_for_element( $elem ) ; if ( player_no === null ) return null ;