Removes the second SVG element unnecessarily added. Visualization width set to 600.

This commit is contained in:
Madhura Jayaratne 2011-05-31 22:39:44 +05:30
parent 7c817b80bd
commit df96763525
2 changed files with 4 additions and 1 deletions

View File

@ -69,6 +69,9 @@ $(document).ready(function() {
}
});
// Removes the second SVG element unnecessarily added due to the above command.
$('#placeholder').find('svg:nth-child(2)').remove();
$('#placeholder').live('mousewheel', function(event, delta) {
if (delta > 0) {
//zoom in

View File

@ -39,7 +39,7 @@ class PMA_GIS_Visualization
),
// The width of the GIS visualization.
'width' => 700,
'width' => 600,
// The height of the GIS visualization.
'height' => 450,