From f5e76dbc7caeda4bc4984f00753220fe3bfbb7b2 Mon Sep 17 00:00:00 2001 From: raylu Date: Sun, 17 Jul 2011 18:00:04 -0700 Subject: more view styling --- webroot/js/functions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'webroot/js/functions.js') diff --git a/webroot/js/functions.js b/webroot/js/functions.js index 86f3f3c..5f7d7ae 100644 --- a/webroot/js/functions.js +++ b/webroot/js/functions.js @@ -18,14 +18,14 @@ jQuery(document).ready(function($) { function toggleCast() { var table = $('#cast table'); - if (table.css('display') == 'inline') { + if (table.css('display') == 'block') { table.css('display', 'none'); $('#cast > p > a').text('Cast ↓'); $('#castlink').css('display', 'none'); } else { - table.css('display', 'inline'); + table.css('display', 'block'); $('#cast > p > a').text('Cast ↑'); - $('#castlink').css('display', 'inline'); + $('#castlink').css('display', 'block'); } return false; } -- cgit v1.2.3