diff options
Diffstat (limited to 'webroot/js/functions.js')
-rw-r--r-- | webroot/js/functions.js | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |