From 405245a154250505b5905f24d8ab9c346554786d Mon Sep 17 00:00:00 2001 From: jonsowman Date: Mon, 14 Jun 2010 12:01:50 +0100 Subject: [PATCH] Changed button style and bit of CSS tweaking --- predict/css/pred.css | 2 +- predict/js/pred.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/predict/css/pred.css b/predict/css/pred.css index f36cd5b..d5b91bd 100644 --- a/predict/css/pred.css +++ b/predict/css/pred.css @@ -115,7 +115,7 @@ a { text-decoration: underline; color: #333; cursor: pointer; } #input_form { max-height:370px; - overflow: auto; + overflow: hidden; width: 400px; padding: 5px; bottom: 0; right: 0; diff --git a/predict/js/pred.js b/predict/js/pred.js index 790141c..76b8505 100644 --- a/predict/js/pred.js +++ b/predict/js/pred.js @@ -27,6 +27,7 @@ $(document).ready(function() { // make launch card draggable $("#input_form").draggable({containment: '#map_canvas', handle: 'img.handle', snap: '#map_canvas'}); $("#scenario_info").draggable({containment: '#map_canvas', handle: 'img.handle', snap: '#map_canvas'}); + $("#run_pred_btn").button(); // see if we want an old prediction displayed if ( current_uuid != '0' ) {