Skip to content
Snippets Groups Projects
Commit 4c36d9de authored by Geoff Rowland's avatar Geoff Rowland
Browse files

Allow c=1 parameter to force default display controls and menu

parent ce0f5cb0
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,11 @@ if ($jmolfiletype === "cif" ) {
$menu = 'SimpleChem.mnu';
$dropmenu = 'SimpleChem';
}
if ($controls === '2') {
if ($controls === '1') {
$menu = 'SimpleChem.mnu';
$dropmenu = 'SimpleChem';
$loadscript = 'set zoomLarge false; load '.$pathname.';';
} else if ($controls === '2') {
$menu = 'SimpleCryst.mnu';
$dropmenu = 'SimpleCryst';
} else if ($controls === '3') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment