ref: 36f35f5db81d95c3fc038f27ac791a2f4f748c10
parent: 2360b77812e184902e44c7f4ea2f6fc79729e370
author: Simon Tatham <anakin@pobox.com>
date: Fri Apr 5 11:49:29 EDT 2013
Regretfully remove my trickery with a hidden <option> element inside the game-type <select>, since IE turns out to ignore display:none on options. Oh well. Instead I now do a more transparent thing: when custom game params are in use, there's a "Custom" option selected in the dropdown, and a separate 'Re-customise' option which brings the config box back up. When an ordinary preset is selected, the Custom option is missing, and there's just a 'Customise'. In the process I've tinkered a bit to arrange that the custom 'preset' is always represented by a negative number rather than one past the last real preset; that seems more consistent overall. [originally from svn r9811]